[PATCH] D44096: [X86] Make X86 PseudoI instructions llvm isPseudo.
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 5 08:28:44 PST 2018
gchatelet created this revision.
X86 PseudoI instructions do not have the isPseudo bit.
Repository:
rL LLVM
https://reviews.llvm.org/D44096
Files:
lib/Target/X86/X86InstrFormats.td
Index: lib/Target/X86/X86InstrFormats.td
===================================================================
--- lib/Target/X86/X86InstrFormats.td
+++ lib/Target/X86/X86InstrFormats.td
@@ -349,10 +349,12 @@
let TSFlags{54} = hasEVEX_RC;
}
-class PseudoI<dag oops, dag iops, list<dag> pattern,
- InstrItinClass itin = NoItinerary>
- : X86Inst<0, Pseudo, NoImm, oops, iops, "", itin> {
- let Pattern = pattern;
+let isPseudo = 1 in {
+ class PseudoI<dag oops, dag iops, list<dag> pattern,
+ InstrItinClass itin = NoItinerary>
+ : X86Inst<0, Pseudo, NoImm, oops, iops, "", itin> {
+ let Pattern = pattern;
+ }
}
class I<bits<8> o, Format f, dag outs, dag ins, string asm,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44096.137010.patch
Type: text/x-patch
Size: 720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180305/14bcfe2d/attachment.bin>
More information about the llvm-commits
mailing list