Fix test after Chris' select changes.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 12 Mar 2009 16:10:08 +0000 (16:10 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 12 Mar 2009 16:10:08 +0000 (16:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66795 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2008-07-11-SpillerBug.ll

index 2acd4988ad2afdaad620c1a7bc8dd5f499715768..1d946388650199def85c1d3efe67c4c7d3a6dbf9 100644 (file)
@@ -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                ; <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]