summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/byval-align.ll
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-07-21 00:18:59 +0000
committerMatthias Braun <matze@braunis.de>2015-07-21 00:18:59 +0000
commite40d89ef9bd6fac06a8087e92351f5725b5ba1d6 (patch)
tree770bd31e38375f0f99829e2616ae3c5f1a220573 /llvm/test/CodeGen/ARM/byval-align.ll
parent6a543b6754a6e0caea01f9f69e4d37a6cb7faa2f (diff)
downloadbcm5719-llvm-e40d89ef9bd6fac06a8087e92351f5725b5ba1d6.tar.gz
bcm5719-llvm-e40d89ef9bd6fac06a8087e92351f5725b5ba1d6.zip
ARMLoadStoreOptimizer: Create LDRD/STRD on thumb2
Re-apply r241926 with an additional check that r13 and r15 are not used for LDRD/STRD. See http://llvm.org/PR24190. This also already includes the fix from r241951. Differential Revision: http://reviews.llvm.org/D10623 llvm-svn: 242742
Diffstat (limited to 'llvm/test/CodeGen/ARM/byval-align.ll')
-rw-r--r--llvm/test/CodeGen/ARM/byval-align.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/byval-align.ll b/llvm/test/CodeGen/ARM/byval-align.ll
index a26b5a79575..8a506280dd5 100644
--- a/llvm/test/CodeGen/ARM/byval-align.ll
+++ b/llvm/test/CodeGen/ARM/byval-align.ll
@@ -28,8 +28,7 @@ define i32 @test_align8(i8*, [4 x i32]* byval align 8 %b) {
; CHECK: push {r4, r7, lr}
; CHECK: add r7, sp, #4
-; CHECK-DAG: str r2, [r7, #8]
-; CHECK-DAG: str r3, [r7, #12]
+; CHECK: strd r2, r3, [r7, #8]
; CHECK: ldr r0, [r7, #8]
OpenPOWER on IntegriCloud