summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/ldrd.ll
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-07-15 16:36:38 +0000
committerPete Cooper <peter_cooper@apple.com>2015-07-15 16:36:38 +0000
commit21ca199cead1044385001204eddb3c9cfe63bc33 (patch)
tree70fd61ad8d2f05b728651195fb6b3918c5f168c5 /llvm/test/CodeGen/ARM/ldrd.ll
parent00fb2a118398e2d8d9f5f246db8f746d2aec69d6 (diff)
downloadbcm5719-llvm-21ca199cead1044385001204eddb3c9cfe63bc33.tar.gz
bcm5719-llvm-21ca199cead1044385001204eddb3c9cfe63bc33.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. llvm-svn: 242300
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