[llvm] r291678 - [ARM] Fix test CodeGen/ARM/fpcmp_ueq.ll broken by rL290616
Evgeny Astigeevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 08:23:29 PST 2017
Author: eastig
Date: Wed Jan 11 10:23:28 2017
New Revision: 291678
URL: http://llvm.org/viewvc/llvm-project?rev=291678&view=rev
Log:
[ARM] Fix test CodeGen/ARM/fpcmp_ueq.ll broken by rL290616
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
Modified:
llvm/trunk/test/CodeGen/ARM/fpcmp_ueq.ll
Modified: llvm/trunk/test/CodeGen/ARM/fpcmp_ueq.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fpcmp_ueq.ll?rev=291678&r1=291677&r2=291678&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fpcmp_ueq.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fpcmp_ueq.ll Wed Jan 11 10:23:28 2017
@@ -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:
More information about the llvm-commits
mailing list