diff options
author | Evgeny Astigeevich <evgeny.astigeevich@arm.com> | 2017-01-11 16:23:28 +0000 |
---|---|---|
committer | Evgeny Astigeevich <evgeny.astigeevich@arm.com> | 2017-01-11 16:23:28 +0000 |
commit | 56f5b8931f3ed02571af01f26b1d93f08d462664 (patch) | |
tree | 886c66bbdca123295b70d3d9066ad0b29b1e6b0e /llvm/test/CodeGen/ARM/fpcmp_ueq.ll | |
parent | 9c287bca23e0f7279a43b753dd1310b78c38bc15 (diff) | |
download | bcm5719-llvm-56f5b8931f3ed02571af01f26b1d93f08d462664.tar.gz bcm5719-llvm-56f5b8931f3ed02571af01f26b1d93f08d462664.zip |
[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
llvm-svn: 291678
Diffstat (limited to 'llvm/test/CodeGen/ARM/fpcmp_ueq.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/fpcmp_ueq.ll | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/fpcmp_ueq.ll b/llvm/test/CodeGen/ARM/fpcmp_ueq.ll index ba14140cdc4..c1696c9be1b 100644 --- a/llvm/test/CodeGen/ARM/fpcmp_ueq.ll +++ b/llvm/test/CodeGen/ARM/fpcmp_ueq.ll @@ -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: |