WebAssembly: handle more than int32 argument/return
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyISelLowering.cpp
index 81c03fff05c3190724289236c412bc981596d2fa..f8b4fbd3bdeec8632b7f9782644a1748564bdad0 100644 (file)
@@ -188,8 +188,6 @@ SDValue WebAssemblyTargetLowering::LowerFormalArguments(
       fail(DL, DAG, "WebAssembly hasn't implemented cons regs last arguments");
     if (In.Flags.isSplit())
       fail(DL, DAG, "WebAssembly hasn't implemented split arguments");
-    if (In.VT != MVT::i32)
-      fail(DL, DAG, "WebAssembly hasn't implemented non-i32 arguments");
     // FIXME Do something with In.getOrigAlign()?
     InVals.push_back(
         In.Used