summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/varargs.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-01-19 16:52:09 +0000
committerDan Gohman <dan433584@gmail.com>2016-01-19 16:52:09 +0000
commitd1b53909b201973b87a464f937b4428fbe92791a (patch)
treeacce8098a5aa9f5ed043c979d44ebb78a255332d /llvm/test/CodeGen/WebAssembly/varargs.ll
parent401a4ab8d8511d50648940afdcb90df5ce42801f (diff)
downloadbcm5719-llvm-d1b53909b201973b87a464f937b4428fbe92791a.tar.gz
bcm5719-llvm-d1b53909b201973b87a464f937b4428fbe92791a.zip
[WebAssembly] Re-enable this test, now that interactions with the coalescer are resolved.
llvm-svn: 258138
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/varargs.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/varargs.ll11
1 files changed, 8 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/varargs.ll b/llvm/test/CodeGen/WebAssembly/varargs.ll
index c12264625c3..bece022823b 100644
--- a/llvm/test/CodeGen/WebAssembly/varargs.ll
+++ b/llvm/test/CodeGen/WebAssembly/varargs.ll
@@ -110,11 +110,16 @@ define void @caller_none() {
ret void
}
+; Test a varargs call with some actual arguments.
+; Note that the store of 2.0 is converted to an i64 store; this optimization
+; is not needed on WebAssembly, but there isn't currently a convenient hook for
+; disabling it.
+
; CHECK-LABEL: caller_some
+; CHECK: i32.store
+; CHECK: i64.store
define void @caller_some() {
- ; TODO: Fix interaction between register coalescer and reg stackifier,
- ; or disable coalescer.
- ;call void (...) @callee(i32 0, double 2.0)
+ call void (...) @callee(i32 0, double 2.0)
ret void
}
OpenPOWER on IntegriCloud