summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2/float-ops.ll
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-05-05 20:07:10 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-05-05 20:07:10 +0000
commit85a0e23bc874da820800b0762a344b62e38df96d (patch)
tree354297506d1906d1ca5103608d3c7ceb0426e810 /llvm/test/CodeGen/Thumb2/float-ops.ll
parent648467ed05ae10d339272c574235df43654b71d7 (diff)
downloadbcm5719-llvm-85a0e23bc874da820800b0762a344b62e38df96d.tar.gz
bcm5719-llvm-85a0e23bc874da820800b0762a344b62e38df96d.zip
Thumb2SizeReduction: Check the correct set of registers for LDMIA.
The register set for LDMIA begins at offset 3, not 4. We were previously missing the short encoding of this instruction in the case where the base register was the first register in the register set. Also clean up some dead code: - The isARMLowRegister check is redundant with what VerifyLowRegs does; replace with an assert. - Remove handling of LDMDB instruction, which has no short encoding (and does not appear in ReduceTable). Differential Revision: http://reviews.llvm.org/D9485 llvm-svn: 236535
Diffstat (limited to 'llvm/test/CodeGen/Thumb2/float-ops.ll')
-rw-r--r--llvm/test/CodeGen/Thumb2/float-ops.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb2/float-ops.ll b/llvm/test/CodeGen/Thumb2/float-ops.ll
index e0396e60df4..7ec08f86665 100644
--- a/llvm/test/CodeGen/Thumb2/float-ops.ll
+++ b/llvm/test/CodeGen/Thumb2/float-ops.ll
@@ -109,7 +109,7 @@ entry:
define double @load_d(double* %a) {
entry:
; CHECK-LABEL: load_d:
-; NONE: ldm.w r0, {r0, r1}
+; NONE: ldm r0, {r0, r1}
; HARD: vldr d0, [r0]
%0 = load double, double* %a, align 8
ret double %0
OpenPOWER on IntegriCloud