aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/add-sitofp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/add-sitofp.ll')
-rw-r--r--test/Transforms/InstCombine/add-sitofp.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/add-sitofp.ll b/test/Transforms/InstCombine/add-sitofp.ll
index 35c6567da6..298b9a1917 100644
--- a/test/Transforms/InstCombine/add-sitofp.ll
+++ b/test/Transforms/InstCombine/add-sitofp.ll
@@ -4,6 +4,6 @@ define double @x(i32 %a, i32 %b) nounwind {
%m = lshr i32 %a, 24
%n = and i32 %m, %b
%o = sitofp i32 %n to double
- %p = add double %o, 1.0
+ %p = fadd double %o, 1.0
ret double %p
}