aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-02 19:59:20 +0000
committerChris Lattner <sabre@nondot.org>2002-08-02 19:59:20 +0000
commit7b572eff4826e9889f032cfe9591ef449c6c52e1 (patch)
treef92fae519e6a539cea6409e2e03c1b5377222c39
parent77c1462728893b6404da3bb5e87c78dc0e1cfb49 (diff)
Fix yet another bug in the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3224 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/InstCombine/2002-08-02-CastTest.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/2002-08-02-CastTest.ll b/test/Transforms/InstCombine/2002-08-02-CastTest.ll
index dcbdfa24d9..2e76283040 100644
--- a/test/Transforms/InstCombine/2002-08-02-CastTest.ll
+++ b/test/Transforms/InstCombine/2002-08-02-CastTest.ll
@@ -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
}