From b6fe3315840fab83f8519d9c661d74a6f88fc033 Mon Sep 17 00:00:00 2001 From: Cameron McInally Date: Fri, 17 May 2019 17:59:17 +0000 Subject: [PATCH] [NFC][InstSImplify] Fix flip-flopped comments and test names In test/Transforms/InstSimplify/floating-point-arithmetic.ll Differential Revision: https://reviews.llvm.org/D62069 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361057 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../InstSimplify/floating-point-arithmetic.ll | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Transforms/InstSimplify/floating-point-arithmetic.ll b/test/Transforms/InstSimplify/floating-point-arithmetic.ll index acd1936a641..868c4a20735 100644 --- a/test/Transforms/InstSimplify/floating-point-arithmetic.ll +++ b/test/Transforms/InstSimplify/floating-point-arithmetic.ll @@ -46,9 +46,9 @@ define <2 x float> @fsub_-0_-0_x_vec_undef_elts(<2 x float> %a) { ret <2 x float> %ret } -; fsub 0.0, (fsub -0.0, X) != X -define float @fsub_0_-0_x(float %a) { -; CHECK-LABEL: @fsub_0_-0_x( +; fsub -0.0, (fsub 0.0, X) != X +define float @fsub_-0_0_x(float %a) { +; CHECK-LABEL: @fsub_-0_0_x( ; CHECK-NEXT: [[T1:%.*]] = fsub float 0.000000e+00, [[A:%.*]] ; CHECK-NEXT: [[RET:%.*]] = fsub float -0.000000e+00, [[T1]] ; CHECK-NEXT: ret float [[RET]] @@ -58,9 +58,9 @@ define float @fsub_0_-0_x(float %a) { ret float %ret } -; fsub -0.0, (fsub 0.0, X) != X -define float @fsub_-0_0_x(float %a) { -; CHECK-LABEL: @fsub_-0_0_x( +; fsub 0.0, (fsub -0.0, X) != X +define float @fsub_0_-0_x(float %a) { +; CHECK-LABEL: @fsub_0_-0_x( ; CHECK-NEXT: [[T1:%.*]] = fsub float -0.000000e+00, [[A:%.*]] ; CHECK-NEXT: [[RET:%.*]] = fsub float 0.000000e+00, [[T1]] ; CHECK-NEXT: ret float [[RET]] -- 2.50.1