From d1b53909b201973b87a464f937b4428fbe92791a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 19 Jan 2016 16:52:09 +0000 Subject: [PATCH] [WebAssembly] Re-enable this test, now that interactions with the coalescer are resolved. llvm-svn: 258138 --- llvm/test/CodeGen/WebAssembly/varargs.ll | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/llvm/test/CodeGen/WebAssembly/varargs.ll b/llvm/test/CodeGen/WebAssembly/varargs.ll index c12264625c37..bece022823b0 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 }