summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/zero-point-zero-add.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/zero-point-zero-add.ll')
-rw-r--r--test/Transforms/InstCombine/zero-point-zero-add.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/InstCombine/zero-point-zero-add.ll b/test/Transforms/InstCombine/zero-point-zero-add.ll
index bae60d9703..adb28e4d5c 100644
--- a/test/Transforms/InstCombine/zero-point-zero-add.ll
+++ b/test/Transforms/InstCombine/zero-point-zero-add.ll
@@ -3,13 +3,13 @@
declare double @abs(double)
define double @test(double %X) {
- %Y = add double %X, 0.0 ;; Should be a single add x, 0.0
- %Z = add double %Y, 0.0
+ %Y = fadd double %X, 0.0 ;; Should be a single add x, 0.0
+ %Z = fadd double %Y, 0.0
ret double %Z
}
define double @test1(double %X) {
%Y = call double @abs(double %X)
- %Z = add double %Y, 0.0
+ %Z = fadd double %Y, 0.0
ret double %Z
}