aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-07-11-SpillerBug.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-03-12 16:10:08 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-03-12 16:10:08 +0000
commit0b220d0e6cb1013cab2ca7f32ddf87e13ee3e893 (patch)
tree9c00a635b845565f71d048435a53084c8a615614 /test/CodeGen/X86/2008-07-11-SpillerBug.ll
parent1aeac022f5a25ab65e3e6b74c8217364dc254b4d (diff)
downloadexternal_llvm-0b220d0e6cb1013cab2ca7f32ddf87e13ee3e893.zip
external_llvm-0b220d0e6cb1013cab2ca7f32ddf87e13ee3e893.tar.gz
external_llvm-0b220d0e6cb1013cab2ca7f32ddf87e13ee3e893.tar.bz2
Fix test after Chris' select changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2008-07-11-SpillerBug.ll')
-rw-r--r--test/CodeGen/X86/2008-07-11-SpillerBug.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2008-07-11-SpillerBug.ll b/test/CodeGen/X86/2008-07-11-SpillerBug.ll
index 2acd498..1d94638 100644
--- a/test/CodeGen/X86/2008-07-11-SpillerBug.ll
+++ b/test/CodeGen/X86/2008-07-11-SpillerBug.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static |\
+; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static -disable-fp-elim |\
; RUN: %prcontext 65534 1 | grep movl | count 1
; PR2536
@@ -30,13 +30,13 @@ bb5: ; preds = %bb
bb7.preheader: ; preds = %bb5, %bb
icmp eq i16 %p_56_addr.1.reg2mem.0, 0 ; <i1>:7 [#uses=1]
- %.0 = select i1 %7, i32 1, i32 0 ; <i32> [#uses=1]
+ %.0 = select i1 %7, i32 1, i32 %3 ; <i32> [#uses=1]
urem i32 1, %.0 ; <i32>:8 [#uses=1]
icmp eq i32 %8, 0 ; <i1>:9 [#uses=1]
%.not = xor i1 %9, true ; <i1> [#uses=1]
%.not1 = xor i1 %5, true ; <i1> [#uses=1]
%brmerge = or i1 %.not, %.not1 ; <i1> [#uses=1]
- %iftmp.6.0 = select i1 %brmerge, i32 1, i32 0 ; <i32> [#uses=1]
+ %iftmp.6.0 = select i1 %brmerge, i32 3, i32 0 ; <i32> [#uses=1]
mul i32 %iftmp.6.0, %3 ; <i32>:10 [#uses=1]
icmp eq i32 %10, 0 ; <i1>:11 [#uses=1]
%p_56_addr.0 = select i1 %11, i16 %p_56_addr.1.reg2mem.0, i16 1 ; <i16> [#uses=1]