OSDN Git Service

[X86] Add default InstrItinClass to PseudoI
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 23 Dec 2017 10:47:21 +0000 (10:47 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 23 Dec 2017 10:47:21 +0000 (10:47 +0000)
This will be used to help tidyup existing pseudos that we've added scheduling info to.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321401 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrFormats.td

index 2a6ed02..c6242ea 100644 (file)
@@ -349,8 +349,9 @@ class X86Inst<bits<8> opcod, Format f, ImmType i, dag outs, dag ins,
   let TSFlags{54}    = hasEVEX_RC;
 }
 
-class PseudoI<dag oops, dag iops, list<dag> pattern>
-  : X86Inst<0, Pseudo, NoImm, oops, iops, "", NoItinerary> {
+class PseudoI<dag oops, dag iops, list<dag> pattern,
+              InstrItinClass itin = NoItinerary>
+  : X86Inst<0, Pseudo, NoImm, oops, iops, "", itin> {
   let Pattern = pattern;
 }