New testcase
authorChris Lattner <sabre@nondot.org>
Thu, 24 Jul 2003 19:31:08 +0000 (19:31 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 24 Jul 2003 19:31:08 +0000 (19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7296 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/or.ll

index 24c451e1c6f805b771a93fe2dc67447262b011dc..c4a62283f3c2d456ef0ba8da2761769ae76a290e 100644 (file)
@@ -86,3 +86,10 @@ uint %test13(uint %A) {
        ret uint %C 
 }
 
+bool %test14(uint %A, uint %B) {
+       %C1 = setlt uint %A, %B
+       %C2 = setgt uint %A, %B
+       %D = or bool %C1, %C2      ; (A < B) | (A > B) === A != B
+       ret bool %D
+}
+