[llvm] r256165 - [WebAssembly] Mark the ARGUMENT pseudo-instructions as CodeGenOnly.
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 21 08:53:29 PST 2015
Author: djg
Date: Mon Dec 21 10:53:29 2015
New Revision: 256165
URL: http://llvm.org/viewvc/llvm-project?rev=256165&view=rev
Log:
[WebAssembly] Mark the ARGUMENT pseudo-instructions as CodeGenOnly.
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInfo.td?rev=256165&r1=256164&r2=256165&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInfo.td (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInfo.td Mon Dec 21 10:53:29 2015
@@ -79,7 +79,7 @@ include "WebAssemblyInstrFormats.td"
//===----------------------------------------------------------------------===//
multiclass ARGUMENT<WebAssemblyRegClass vt> {
- 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))]>;
}
More information about the llvm-commits
mailing list