diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-12-06 00:01:56 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-12-06 00:01:56 +0000 |
commit | 5ef3a04b542c4e585276768fa9ca2af698ef5c87 (patch) | |
tree | 6b72163b7ae2b198f8295130ebab1761ada9d43b /test/CodeGen/ARM | |
parent | bdcb726fcad1e3fddc70847a2b91d4d4f9396938 (diff) | |
download | external_llvm-5ef3a04b542c4e585276768fa9ca2af698ef5c87.zip external_llvm-5ef3a04b542c4e585276768fa9ca2af698ef5c87.tar.gz external_llvm-5ef3a04b542c4e585276768fa9ca2af698ef5c87.tar.bz2 |
Fix for PR1831: if all defs of an interval are re-materializable, then it's a preferred spill candiate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r-- | test/CodeGen/ARM/lsr-code-insertion.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/lsr-code-insertion.ll b/test/CodeGen/ARM/lsr-code-insertion.ll index 507c891..3881e91 100644 --- a/test/CodeGen/ARM/lsr-code-insertion.ll +++ b/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) { |