diff options
author | JF Bastien <jfb@google.com> | 2015-08-24 22:07:33 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2015-08-24 22:07:33 +0000 |
commit | 19c2e6634de882c2f146d278b49adb2952d7d104 (patch) | |
tree | ec3b72502a794c9c8c32a6475e3d26e8b174e55c /llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td | |
parent | 5cd113df01a3e58625d71c4363b211951a1abc9c (diff) | |
download | bcm5719-llvm-19c2e6634de882c2f146d278b49adb2952d7d104.tar.gz bcm5719-llvm-19c2e6634de882c2f146d278b49adb2952d7d104.zip |
Revert two bad commits.
Summary: I forgot to squash git commits before doing an svn dcommit of D12219. Reverting, and re-submitting.
Subscribers: jfb, llvm-commits
Differential Revision: http://reviews.llvm.org/D12298
llvm-svn: 245886
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), |