fix incorrectly translated testcase
authorChris Lattner <sabre@nondot.org>
Fri, 1 Dec 2006 21:38:02 +0000 (21:38 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 1 Dec 2006 21:38:02 +0000 (21:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32093 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/IPConstantProp/return-constant.ll

index f779d76af120862c0cb617b72546c03ec6f22b3a..50c55d88bfb36b0fef93f9bc02ad7091a09a0ba1 100644 (file)
@@ -11,6 +11,6 @@ F:
 
 bool %caller(bool %C) {
        %X = call int %foo(bool %C)
-       %Y = trunc int %X to bool
+       %Y = setne int %X, 0
        ret bool %Y
 }