diff options
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td index 9228be7dea3..f4d16d39e64 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td @@ -12,7 +12,7 @@ /// //===----------------------------------------------------------------------===// -// WebAssembly Instruction Format. +// WebAssembly Instruction Format class WebAssemblyInst<string cstr> : Instruction { field bits<0> Inst; // Instruction encoding. let Namespace = "WebAssembly"; @@ -20,7 +20,7 @@ class WebAssemblyInst<string cstr> : Instruction { let Constraints = cstr; } -// Normal instructions. +// Normal instructions class I<dag oops, dag iops, list<dag> pattern, string cstr = ""> : WebAssemblyInst<cstr> { dag OutOperandList = oops; @@ -28,14 +28,6 @@ class I<dag oops, dag iops, list<dag> pattern, string cstr = ""> let Pattern = pattern; } -// Pseudo instructions. -class Pseudo<dag oops, dag iops, list<dag> pattern, string asmstr, - string cstr = ""> - : I<oops, iops, pattern, cstr> { - let isPseudo = 1; - let AsmString = asmstr; -} - // Unary and binary instructions, for the local types that WebAssembly supports. multiclass UnaryInt<SDNode node> { def _I32 : I<(outs Int32:$dst), (ins Int32:$src), |