From: Dan Gohman Date: Mon, 21 Dec 2015 16:53:29 +0000 (+0000) Subject: [WebAssembly] Mark the ARGUMENT pseudo-instructions as CodeGenOnly. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=d46c80d0ece12f0f7c4dd6d29a8b8aa036409daa;hp=b3061699c587e2695b7f8511bc5a3f3cbfc92006 [WebAssembly] Mark the ARGUMENT pseudo-instructions as CodeGenOnly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256165 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/WebAssembly/WebAssemblyInstrInfo.td b/lib/Target/WebAssembly/WebAssemblyInstrInfo.td index 5cf8664eba8..f0b4ce7caf5 100644 --- a/lib/Target/WebAssembly/WebAssemblyInstrInfo.td +++ b/lib/Target/WebAssembly/WebAssemblyInstrInfo.td @@ -79,7 +79,7 @@ include "WebAssemblyInstrFormats.td" //===----------------------------------------------------------------------===// multiclass ARGUMENT { - let hasSideEffects = 1, Uses = [ARGUMENTS] in + let hasSideEffects = 1, Uses = [ARGUMENTS], isCodeGenOnly = 1 in def ARGUMENT_#vt : I<(outs vt:$res), (ins i32imm:$argno), [(set vt:$res, (WebAssemblyargument timm:$argno))]>; }