summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/ldrd.ll
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-10-22 01:48:57 +0000
committerPete Cooper <peter_cooper@apple.com>2015-10-22 01:48:57 +0000
commitb70b956c804e85538a4d9e0b5eea9ff57eb123c7 (patch)
tree4771f979d90eb76c549caf966d550ae526d10f27 /llvm/test/CodeGen/ARM/ldrd.ll
parent34cacb404b2e69f2ccc4b3f4ef1c962f01faa383 (diff)
downloadbcm5719-llvm-b70b956c804e85538a4d9e0b5eea9ff57eb123c7.tar.gz
bcm5719-llvm-b70b956c804e85538a4d9e0b5eea9ff57eb123c7.zip
Add missing load/store flags to thumb2 instructions.
These were the cause of a verifier error when building 7zip with -verify-machineinstrs. Running 'make check' with the verifier triggered the same error on the test here so i've updated the test to run the verifier on one of its runs instead of adding a new one. While looking at this code, there was a stale comment that these instructions were only used for disassembly. This probably used to be the case, but they are now used in the 'ARM load / store optimization pass' too. This reapplies r242300 which was reverted in r242428 due to bot failures. Ultimately those failures were spurious and completely unrelated to this commit. I reverted this at the time because it was thought to be at fault. llvm-svn: 250969
Diffstat (limited to 'llvm/test/CodeGen/ARM/ldrd.ll')
-rw-r--r--llvm/test/CodeGen/ARM/ldrd.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/ldrd.ll b/llvm/test/CodeGen/ARM/ldrd.ll
index 56cdcaedf90..b2596346bfa 100644
--- a/llvm/test/CodeGen/ARM/ldrd.ll
+++ b/llvm/test/CodeGen/ARM/ldrd.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a8 -regalloc=fast -optimize-regalloc=0 | FileCheck %s -check-prefix=A8 -check-prefix=CHECK
+; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a8 -regalloc=fast -optimize-regalloc=0 -verify-machineinstrs | FileCheck %s -check-prefix=A8 -check-prefix=CHECK
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-m3 -regalloc=fast -optimize-regalloc=0 | FileCheck %s -check-prefix=M3 -check-prefix=CHECK
; rdar://6949835
; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a8 -regalloc=basic | FileCheck %s -check-prefix=BASIC -check-prefix=CHECK
OpenPOWER on IntegriCloud