diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-02 17:35:25 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-02 17:35:25 +0000 |
commit | ab3d00e5350fd4c097e2a5b077da7584692029a7 (patch) | |
tree | 192b087ccc06b70ce5032173db5861f1bc2404e4 /test | |
parent | 3b5aec67ef174c74ff6620ddd71ad3b0cb39030c (diff) |
Revert r114340 (improvements in Darwin function prologue/epilogue), as it broke
assumptions about stack layout. Specifically, LR must be saved next to FP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/lsr-code-insertion.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/test/CodeGen/ARM/lsr-code-insertion.ll b/test/CodeGen/ARM/lsr-code-insertion.ll index 9f1a44a5fe..b8c543b1bd 100644 --- a/test/CodeGen/ARM/lsr-code-insertion.ll +++ b/test/CodeGen/ARM/lsr-code-insertion.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -stats |& grep {36.*Number of machine instrs printed} +; RUN: llc < %s -stats |& grep {38.*Number of machine instrs printed} ; RUN: llc < %s -stats |& not 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 diff --git a/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll b/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll index a0caf3b76a..f91e1c9feb 100644 --- a/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll +++ b/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll @@ -32,14 +32,15 @@ define fastcc i32 @parse_percent_token() nounwind { entry: -; CHECK: itt eq -; CHECK: itt eq -; CHECK: itt eq -; CHECK: itt eq -; CHECK: itt eq +; CHECK: ittt eq +; CHECK: ittt eq +; CHECK: ittt eq +; CHECK: ittt eq +; CHECK: ittt eq ; CHECK: moveq r0 ; CHECK-NOT: LBB0_ -; CHECK: ldmiaeq +; CHECK: ldreq +; CHECK: popeq switch i32 undef, label %bb7 [ i32 37, label %bb43 i32 48, label %bb5 |