-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AIE2] Enable LDA to use optimal itinerary #169
Conversation
0eb289c
to
55c85de
Compare
935c6ca
to
ce9e492
Compare
ce9e492
to
004f54e
Compare
12cc4fc
to
447d883
Compare
llvm/include/llvm/Target/Target.td
Outdated
@@ -583,11 +583,15 @@ class EncodingByHwMode<list<HwMode> Ms = [], list<InstructionEncoding> Ts = []> | |||
list<InstructionEncoding> Objects = Ts; | |||
} | |||
|
|||
class OperandRegClass<int OperIdx, RegisterClass Reg> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I think this should rather be in llvm/Target/AIETarget.td
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We needed list<ItinRegClassPair>
as part of class Instruction
thus we needed this to be added to Target.td
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably could have included Target.td
in AIETarget.td
447d883
to
84db0ef
Compare
84db0ef
to
8614bbd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… load to use II_LDA_R
…partWord load to use II_LDA_1D_R
…s, partWord postinc load_2d to use II_LDA_2D_R
…s, partWord postinc load_3d to use II_LDA_3D_R
8614bbd
to
dc18e80
Compare
Enable LDA , and PostInc. Load with various addr mode to use optimal itinerary