aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-12-21 16:53:29 +0000
committerDan Gohman <dan433584@gmail.com>2015-12-21 16:53:29 +0000
commita783f10c164ca8fb582c7475d9d46ccc4d77c543 (patch)
tree3fddadfb7deba480aef1fd0aaa7f9550e9fa4561 /llvm/lib/Target/WebAssembly
parentdd20c70b61103e4f8ea0ee0a9cfcdaa004797780 (diff)
downloadllvm-a783f10c164ca8fb582c7475d9d46ccc4d77c543.zip
llvm-a783f10c164ca8fb582c7475d9d46ccc4d77c543.tar.gz
llvm-a783f10c164ca8fb582c7475d9d46ccc4d77c543.tar.bz2
[WebAssembly] Mark the ARGUMENT pseudo-instructions as CodeGenOnly.
llvm-svn: 256165
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
index 5cf8664..f0b4ce7 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
@@ -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))]>;
}