summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/storetrunc-fp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/storetrunc-fp.ll')
-rw-r--r--test/CodeGen/Generic/storetrunc-fp.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Generic/storetrunc-fp.ll b/test/CodeGen/Generic/storetrunc-fp.ll
index 710a990..0f7bb0b 100644
--- a/test/CodeGen/Generic/storetrunc-fp.ll
+++ b/test/CodeGen/Generic/storetrunc-fp.ll
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc
define void @foo(double %a, double %b, float* %fp) {
- %c = add double %a, %b
+ %c = fadd double %a, %b
%d = fptrunc double %c to float
store float %d, float* %fp
ret void
OpenPOWER on IntegriCloud