aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/select.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-16 23:21:55 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-16 23:21:55 +0000
commit083b48af14c8bfa0e96f63ebc889704d09655fd4 (patch)
tree90d9697be12232acb8a9d695af32125fa6262dc5 /test/CodeGen/ARM/select.ll
parent053b5b0b3c34d4763511b6dcd8e0150f8e9dd083 (diff)
downloadexternal_llvm-083b48af14c8bfa0e96f63ebc889704d09655fd4.zip
external_llvm-083b48af14c8bfa0e96f63ebc889704d09655fd4.tar.gz
external_llvm-083b48af14c8bfa0e96f63ebc889704d09655fd4.tar.bz2
Add ADD and SUB to the predicable ARM instructions.
It is not my plan to duplicate the entire ARM instruction set with predicated versions. We need a way of representing predicated instructions in SSA form without requiring a separate opcode. Then the pseudo-instructions can go away. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/select.ll')
-rw-r--r--test/CodeGen/ARM/select.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/select.ll b/test/CodeGen/ARM/select.ll
index 418d4f3..5575566 100644
--- a/test/CodeGen/ARM/select.ll
+++ b/test/CodeGen/ARM/select.ll
@@ -76,12 +76,11 @@ define double @f7(double %a, double %b) {
; block generated, odds are good that we have close to the ideal code for this:
;
; CHECK-NEON: _f8:
+; CHECK-NEON: movw [[R3:r[0-9]+]], #1123
; CHECK-NEON: adr [[R2:r[0-9]+]], LCPI7_0
-; CHECK-NEON-NEXT: movw [[R3:r[0-9]+]], #1123
-; CHECK-NEON-NEXT: adds {{r.*}}, [[R2]], #4
; CHECK-NEON-NEXT: cmp r0, [[R3]]
-; CHECK-NEON-NEXT: it ne
-; CHECK-NEON-NEXT: movne {{r.*}}, [[R2]]
+; CHECK-NEON-NEXT: it eq
+; CHECK-NEON-NEXT: addeq.w {{r.*}}, [[R2]]
; CHECK-NEON-NEXT: ldr
; CHECK-NEON: bx