]> granicus.if.org Git - llvm/commitdiff
[ARM] Fix test CodeGen/ARM/fpcmp_ueq.ll broken by rL290616
authorEvgeny Astigeevich <evgeny.astigeevich@arm.com>
Wed, 11 Jan 2017 16:23:28 +0000 (16:23 +0000)
committerEvgeny Astigeevich <evgeny.astigeevich@arm.com>
Wed, 11 Jan 2017 16:23:28 +0000 (16:23 +0000)
Commit rL290616 (https://reviews.llvm.org/rL290616) changed a checking command
for the triple arm-apple-darwin in LLVM::CodeGen/ARM/fpcmp_ueq.ll. As a result
of the changes the test could fail for the valid generated code.

These changes fixes the test to check only instructions we would expect.

Differential Revision: https://reviews.llvm.org/D28159

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291678 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/fpcmp_ueq.ll

index ba14140cdc447c73d75cd8a8592f0c0db2baabab..c1696c9be1b7c4753ffe3bbb8ade02aa9304def5 100644 (file)
@@ -9,7 +9,11 @@ entry:
 }
 
 ; CHECK-ARMv4-LABEL: f7:
-; CHECK-ARMv4: moveq r6, #1
+; CHECK-ARMv4-DAG: bl ___eqsf2
+; CHECK-ARMv4-DAG: bl ___unordsf2
+; CHECK-ARMv4: cmp r0, #0
+; CHECK-ARMv4: movne r0, #1
+; CHECK-ARMv4: orrs r0, r0,
 ; CHECK-ARMv4: moveq r0, #42
 
 ; CHECK-ARMv7-LABEL: f7: