This also got better (55 - 51 instructions). But doing one more re-materialization.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 19 Jun 2008 01:50:13 +0000 (01:50 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 19 Jun 2008 01:50:13 +0000 (01:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52482 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2008-03-18-CoalescerBug.ll

index c3b4a257353a01ff7b0be37c345ea44263f5ab20..1e887898f657df61d478059aa802ef4bc8ca5b9e 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -mattr=+sse2 -disable-fp-elim | grep movss | count 1
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -mattr=+sse2 -disable-fp-elim -stats |& grep {Number of re-materialization} | grep 1
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin -mattr=+sse2 -disable-fp-elim -stats |& grep {Number of re-materialization} | grep 2
 
        %struct..0objc_object = type opaque
        %struct.OhBoy = type {  }