aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/pre-split2.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-02-05 08:46:33 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-02-05 08:46:33 +0000
commitc5d1a4ffd96528b49a9e34e06706f1499cd0fe80 (patch)
tree08822f993a18a54f8c71f5daf33c0c8bb07afe9f /test/CodeGen/X86/pre-split2.ll
parentaf6949d0b1e1545dff21c5e492fbf1760aa74b59 (diff)
downloadexternal_llvm-c5d1a4ffd96528b49a9e34e06706f1499cd0fe80.zip
external_llvm-c5d1a4ffd96528b49a9e34e06706f1499cd0fe80.tar.gz
external_llvm-c5d1a4ffd96528b49a9e34e06706f1499cd0fe80.tar.bz2
Turn on machine LICM in non-fast mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pre-split2.ll')
-rw-r--r--test/CodeGen/X86/pre-split2.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/pre-split2.ll b/test/CodeGen/X86/pre-split2.ll
index fcb3f05..2009ad8 100644
--- a/test/CodeGen/X86/pre-split2.ll
+++ b/test/CodeGen/X86/pre-split2.ll
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -pre-alloc-split -stats |& \
-; RUN: grep {pre-alloc-split} | count 3
+; RUN: grep {pre-alloc-split} | count 2
-define i32 @t() {
+define i32 @t(i32 %arg) {
entry:
br label %bb6
@@ -12,7 +12,7 @@ entry:
br label %bb6
bb6: ; preds = %.noexc6, %entry
- %1 = uitofp i32 0 to double ; <double> [#uses=1]
+ %1 = uitofp i32 %arg to double ; <double> [#uses=1]
%2 = sub i32 0, 0 ; <i32> [#uses=1]
%3 = invoke i8* @_Znwm(i32 0)
to label %.noexc6 unwind label %lpad32 ; <i8*> [#uses=1]