[llvm] r258138 - [WebAssembly] Re-enable this test, now that interactions with the coalescer are resolved.

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 08:52:10 PST 2016


Author: djg
Date: Tue Jan 19 10:52:09 2016
New Revision: 258138

URL: http://llvm.org/viewvc/llvm-project?rev=258138&view=rev
Log:
[WebAssembly] Re-enable this test, now that interactions with the coalescer are resolved.

Modified:
    llvm/trunk/test/CodeGen/WebAssembly/varargs.ll

Modified: llvm/trunk/test/CodeGen/WebAssembly/varargs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WebAssembly/varargs.ll?rev=258138&r1=258137&r2=258138&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/WebAssembly/varargs.ll (original)
+++ llvm/trunk/test/CodeGen/WebAssembly/varargs.ll Tue Jan 19 10:52:09 2016
@@ -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
 }
 




More information about the llvm-commits mailing list