summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll')
-rw-r--r--llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll b/llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
index ef8adcb1646..21c9fdde150 100644
--- a/llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
+++ b/llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
@@ -62,12 +62,10 @@ define double @fmul_X_1(double %a) {
ret double %b
}
-; FIXME:
; fdiv X, 1.0 ==> X
define float @fdiv_x_1(float %a) {
; CHECK-LABEL: @fdiv_x_1(
-; CHECK-NEXT: [[RET:%.*]] = fdiv float %a, 1.000000e+00
-; CHECK-NEXT: ret float [[RET]]
+; CHECK-NEXT: ret float %a
;
%ret = fdiv float %a, 1.0
ret float %ret
OpenPOWER on IntegriCloud