new testcase
authorChris Lattner <sabre@nondot.org>
Wed, 4 May 2005 19:05:02 +0000 (19:05 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 May 2005 19:05:02 +0000 (19:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21689 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/set.ll

index 970fceb4cfa76b70237071b8b93ef4e68550b44f..6abf6461c1115720165584288ed8f9136f3360b5 100644 (file)
@@ -106,3 +106,10 @@ bool %test19(bool %A, bool %B) {
        %C = seteq int %a, %b
        ret bool %C
 }
+
+uint %test20(uint %A) {
+        %B = and uint %A, 1
+        %C = setne uint %B, 0
+        %D = cast bool %C to uint
+        ret uint %D
+}