aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/storetrunc-fp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/storetrunc-fp.ll')
-rw-r--r--test/CodeGen/X86/storetrunc-fp.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/storetrunc-fp.ll b/test/CodeGen/X86/storetrunc-fp.ll
index 655cbd6..945cf48 100644
--- a/test/CodeGen/X86/storetrunc-fp.ll
+++ b/test/CodeGen/X86/storetrunc-fp.ll
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=x86 | not grep flds
define void @foo(x86_fp80 %a, x86_fp80 %b, float* %fp) {
- %c = add x86_fp80 %a, %b
+ %c = fadd x86_fp80 %a, %b
%d = fptrunc x86_fp80 %c to float
store float %d, float* %fp
ret void