Fix yet another bug in the testcase
authorChris Lattner <sabre@nondot.org>
Fri, 2 Aug 2002 19:59:20 +0000 (19:59 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 Aug 2002 19:59:20 +0000 (19:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3224 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/2002-08-02-CastTest.ll

index dcbdfa24d9a1d0eec62d0657158d30810d0d3be3..2e762830407664057c4720ad9ede3f7a10ce9424 100644 (file)
@@ -1,11 +1,11 @@
 ; This testcase is incorrectly getting completely eliminated.  There should be
 ; SOME instruction named %c here, even if it's a bitwise and.
 ;
-; RUN: as < %s | opt -instcombine | grep '%c'
+; RUN: as < %s | opt -instcombine -die | dis | grep '%c'
 ;
 ulong %test3(ulong %A) {
         %c1 = cast ulong %A to ubyte
         %c2 = cast ubyte %c1 to ulong
-        ret ulong %A
+        ret ulong %c2
 }