summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/ldr-str-imm12.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-18 01:14:46 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-18 01:14:46 +0000
commit0a074ed3ef7c87512d8562ff216e2ad4a29b6566 (patch)
tree3a8e38eb6391611a75938e54d0d70ae3bd8aee76 /test/CodeGen/Thumb2/ldr-str-imm12.ll
parente8c38ca3b591baeb2aab1f8a405e1bece17f5269 (diff)
downloadllvm-0a074ed3ef7c87512d8562ff216e2ad4a29b6566.tar.gz
llvm-0a074ed3ef7c87512d8562ff216e2ad4a29b6566.tar.bz2
llvm-0a074ed3ef7c87512d8562ff216e2ad4a29b6566.tar.xz
Switch ARM to using AltOrders instead of MethodBodies.
This slightly changes the GPR allocation order on Darwin where R9 is not a callee-saved register: Before: %R0 %R1 %R2 %R3 %R12 %R9 %LR %R4 %R5 %R6 %R8 %R10 %R11 After: %R0 %R1 %R2 %R3 %R9 %R12 %LR %R4 %R5 %R6 %R8 %R10 %R11 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/ldr-str-imm12.ll')
-rw-r--r--test/CodeGen/Thumb2/ldr-str-imm12.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/ldr-str-imm12.ll b/test/CodeGen/Thumb2/ldr-str-imm12.ll
index e1932bd274..4597ba56b0 100644
--- a/test/CodeGen/Thumb2/ldr-str-imm12.ll
+++ b/test/CodeGen/Thumb2/ldr-str-imm12.ll
@@ -22,7 +22,7 @@
define %union.rec* @Manifest(%union.rec* %x, %union.rec* %env, %struct.STYLE* %style, %union.rec** %bthr, %union.rec** %fthr, %union.rec** %target, %union.rec** %crs, i32 %ok, i32 %need_expand, %union.rec** %enclose, i32 %fcr) nounwind {
entry:
-; CHECK: ldr.w {{(r[0-9]+)|(lr)}}, [r7, #28]
+; CHECK: ldr{{(.w)?}} {{(r[0-9]+)|(lr)}}, [r7, #28]
%xgaps.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0]
%ycomp.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0]
br label %bb20