From 724b035fe4df89e807f85ee202da8b0bc227895b Mon Sep 17 00:00:00 2001 From: Cameron McInally Date: Tue, 4 Aug 2020 11:32:15 -0500 Subject: [PATCH] [GlobalISel] Remove redundant FNEG tests. These tests were made redundant by D85139. --- .../CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll b/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll index 0d75894..a896b05 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 -- 2.7.4