llvm.org GIT mirror llvm / b6fe331
[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 Cameron McInally 4 months ago
1 changed file(s) with 12 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
4545 ret <2 x float> %ret
4646 }
4747
48 ; fsub -0.0, (fsub 0.0, X) != X
49 define float @fsub_-0_0_x(float %a) {
50 ; CHECK-LABEL: @fsub_-0_0_x(
51 ; CHECK-NEXT: [[T1:%.*]] = fsub float 0.000000e+00, [[A:%.*]]
52 ; CHECK-NEXT: [[RET:%.*]] = fsub float -0.000000e+00, [[T1]]
53 ; CHECK-NEXT: ret float [[RET]]
54 ;
55 %t1 = fsub float 0.0, %a
56 %ret = fsub float -0.0, %t1
57 ret float %ret
58 }
59
4860 ; fsub 0.0, (fsub -0.0, X) != X
4961 define float @fsub_0_-0_x(float %a) {
5062 ; CHECK-LABEL: @fsub_0_-0_x(
51 ; CHECK-NEXT: [[T1:%.*]] = fsub float 0.000000e+00, [[A:%.*]]
52 ; CHECK-NEXT: [[RET:%.*]] = fsub float -0.000000e+00, [[T1]]
53 ; CHECK-NEXT: ret float [[RET]]
54 ;
55 %t1 = fsub float 0.0, %a
56 %ret = fsub float -0.0, %t1
57 ret float %ret
58 }
59
60 ; fsub -0.0, (fsub 0.0, X) != X
61 define float @fsub_-0_0_x(float %a) {
62 ; CHECK-LABEL: @fsub_-0_0_x(
6363 ; CHECK-NEXT: [[T1:%.*]] = fsub float -0.000000e+00, [[A:%.*]]
6464 ; CHECK-NEXT: [[RET:%.*]] = fsub float 0.000000e+00, [[T1]]
6565 ; CHECK-NEXT: ret float [[RET]]