[llvm] 724b035 - [GlobalISel] Remove redundant FNEG tests.
Cameron McInally via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 09:33:46 PDT 2020
Author: Cameron McInally
Date: 2020-08-04T11:32:15-05:00
New Revision: 724b035fe4df89e807f85ee202da8b0bc227895b
URL: https://github.com/llvm/llvm-project/commit/724b035fe4df89e807f85ee202da8b0bc227895b
DIFF: https://github.com/llvm/llvm-project/commit/724b035fe4df89e807f85ee202da8b0bc227895b.diff
LOG: [GlobalISel] Remove redundant FNEG tests.
These tests were made redundant by D85139.
Added:
Modified:
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll b/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
index 0d75894a81dc..a896b05512dd 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
@@ -704,26 +704,6 @@ define float @test_frem(float %arg1, float %arg2) {
ret float %res
}
-; CHECK-LABEL: name: test_fneg
-; CHECK: [[ARG1:%[0-9]+]]:_(s32) = COPY $s0
-; CHECK-NEXT: [[RES:%[0-9]+]]:_(s32) = G_FNEG [[ARG1]]
-; CHECK-NEXT: $s0 = COPY [[RES]]
-; CHECK-NEXT: RET_ReallyLR implicit $s0
-define float @test_fneg(float %arg1) {
- %res = fneg float %arg1
- ret float %res
-}
-
-; CHECK-LABEL: name: test_fneg_fmf
-; CHECK: [[ARG1:%[0-9]+]]:_(s32) = COPY $s0
-; CHECK-NEXT: [[RES:%[0-9]+]]:_(s32) = nnan ninf nsz arcp contract afn reassoc G_FNEG [[ARG1]]
-; CHECK-NEXT: $s0 = COPY [[RES]]
-; CHECK-NEXT: RET_ReallyLR implicit $s0
-define float @test_fneg_fmf(float %arg1) {
- %res = fneg fast float %arg1
- ret float %res
-}
-
; CHECK-LABEL: name: test_sadd_overflow
; CHECK: [[LHS:%[0-9]+]]:_(s32) = COPY $w0
; CHECK: [[RHS:%[0-9]+]]:_(s32) = COPY $w1
More information about the llvm-commits
mailing list