summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/thumb2-spill-q.ll
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-12-06 22:39:50 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-12-06 22:39:50 +0000
commit7cca606aaa6fee6ff4f548aa3686608b6be1f208 (patch)
treed31df77e7d6b41f9c521287a790e60eb923633a7 /test/CodeGen/Thumb2/thumb2-spill-q.ll
parent08bc2701a22cae61d202c0960a390d8410434e5c (diff)
downloadllvm-7cca606aaa6fee6ff4f548aa3686608b6be1f208.tar.gz
llvm-7cca606aaa6fee6ff4f548aa3686608b6be1f208.tar.bz2
llvm-7cca606aaa6fee6ff4f548aa3686608b6be1f208.tar.xz
Dynamic stack realignment use of sp register as source/dest register
in "bic sp, sp, #15" leads to unpredicatble behaviour in Thumb2 mode. Emit the following code instead: mov r4, sp bic r4, r4, #15 mov sp, r4 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/thumb2-spill-q.ll')
-rw-r--r--test/CodeGen/Thumb2/thumb2-spill-q.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-spill-q.ll b/test/CodeGen/Thumb2/thumb2-spill-q.ll
index aef167b07f..2b087893fd 100644
--- a/test/CodeGen/Thumb2/thumb2-spill-q.ll
+++ b/test/CodeGen/Thumb2/thumb2-spill-q.ll
@@ -11,7 +11,7 @@ declare <4 x float> @llvm.arm.neon.vld1.v4f32(i8*) nounwind readonly
define arm_apcscc void @aaa(%quuz* %this, i8* %block) {
; CHECK: aaa:
-; CHECK: bic sp, sp, #15
+; CHECK: bic r4, r4, #15
; CHECK: vst1.64 {{.*}}sp, :128
; CHECK: vld1.64 {{.*}}sp, :128
entry: