[llvm] r321401 - [X86] Add default InstrItinClass to PseudoI
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 23 02:47:21 PST 2017
Author: rksimon
Date: Sat Dec 23 02:47:21 2017
New Revision: 321401
URL: http://llvm.org/viewvc/llvm-project?rev=321401&view=rev
Log:
[X86] Add default InstrItinClass to PseudoI
This will be used to help tidyup existing pseudos that we've added scheduling info to.
Modified:
llvm/trunk/lib/Target/X86/X86InstrFormats.td
Modified: llvm/trunk/lib/Target/X86/X86InstrFormats.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrFormats.td?rev=321401&r1=321400&r2=321401&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrFormats.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrFormats.td Sat Dec 23 02:47:21 2017
@@ -349,8 +349,9 @@ class X86Inst<bits<8> opcod, Format f, I
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;
}
More information about the llvm-commits
mailing list