new testcase
authorChris Lattner <sabre@nondot.org>
Fri, 6 May 2005 01:51:05 +0000 (01:51 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 6 May 2005 01:51:05 +0000 (01:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21710 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/set.ll

index 6abf6461c1115720165584288ed8f9136f3360b5..56b995e9055c957f5f853fe7b972b98131e813e7 100644 (file)
@@ -113,3 +113,11 @@ uint %test20(uint %A) {
         %D = cast bool %C to uint
         ret uint %D
 }
+
+int %test21(int %a) {
+        %tmp.6 = and int %a, 4
+        %not.tmp.7 = setne int %tmp.6, 0
+        %retval = cast bool %not.tmp.7 to int
+        ret int %retval
+}
+