summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/lsr-code-insertion.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-12-06 00:01:56 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-12-06 00:01:56 +0000
commit7fc1d98353efa7bf8cbe474179b66741d068c716 (patch)
tree2f708fcde4e4772a74e583a3ece425b9cbeb3cc7 /llvm/test/CodeGen/ARM/lsr-code-insertion.ll
parentd3d8017bcbe16aa5f820029fb9597b2f014381c8 (diff)
downloadbcm5719-llvm-7fc1d98353efa7bf8cbe474179b66741d068c716.tar.gz
bcm5719-llvm-7fc1d98353efa7bf8cbe474179b66741d068c716.zip
Fix for PR1831: if all defs of an interval are re-materializable, then it's a preferred spill candiate.
llvm-svn: 44644
Diffstat (limited to 'llvm/test/CodeGen/ARM/lsr-code-insertion.ll')
-rw-r--r--llvm/test/CodeGen/ARM/lsr-code-insertion.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/lsr-code-insertion.ll b/llvm/test/CodeGen/ARM/lsr-code-insertion.ll
index 507c8912920..3881e91453b 100644
--- a/llvm/test/CodeGen/ARM/lsr-code-insertion.ll
+++ b/llvm/test/CodeGen/ARM/lsr-code-insertion.ll
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | llc -stats |& grep {40.*Number of machine instrs printed}
+; RUN: llvm-as < %s | llc -stats |& grep {39.*Number of machine instrs printed}
+; RUN: llvm-as < %s | llc -stats |& grep {.*Number of re-materialization}
; This test really wants to check that the resultant "cond_true" block only
; has a single store in it, and that cond_true55 only has code to materialize
; the constant and do a store. We do *not* want something like this:
@@ -7,7 +8,6 @@
; add r8, r0, r6
; str r10, [r8, #+4]
;
-; XFAIL: *
target triple = "arm-apple-darwin8"
define void @foo(i32* %mc, i32* %mpp, i32* %ip, i32* %dpp, i32* %tpmm, i32 %M, i32* %tpim, i32* %tpdm, i32* %bp, i32* %ms, i32 %xmb) {
OpenPOWER on IntegriCloud