summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/sitofp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/sitofp.ll')
-rw-r--r--test/Transforms/InstCombine/sitofp.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/sitofp.ll b/test/Transforms/InstCombine/sitofp.ll
index c26c351a74..2bf7385cdd 100644
--- a/test/Transforms/InstCombine/sitofp.ll
+++ b/test/Transforms/InstCombine/sitofp.ll
@@ -36,7 +36,7 @@ define i32 @test6(i32 %A) {
%C = and i32 %A, 32 ; <i32> [#uses=1]
%D = sitofp i32 %B to double ; <double> [#uses=1]
%E = sitofp i32 %C to double ; <double> [#uses=1]
- %F = add double %D, %E ; <double> [#uses=1]
+ %F = fadd double %D, %E ; <double> [#uses=1]
%G = fptosi double %F to i32 ; <i32> [#uses=1]
ret i32 %G
}