-
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
[AIEX] Shift G_CONCAT_VECTORS closer to the user #234
base: aie-public
Are you sure you want to change the base?
Conversation
When commiting applyUpdToConcat. This enables more postinc combiner cases.
QoR results:
The results quite modest at first glance, but the real goal of this PR is remove one PADD from GEMM in its innermost loop. GEMM aie-public:
GEMM this PR:
|
void llvm::applyUpdToConcat(MachineInstr &MI, MachineRegisterInfo &MRI, | ||
MachineIRBuilder &B, | ||
std::map<unsigned, Register> &IndexRegMap) { | ||
B.setInstrAndDebugLoc(MI); | ||
B.setDebugLoc(MI.getDebugLoc()); |
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.
why aren't the debug location and insertion point for MachineInstr
the same?
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.
Hi @F-Stuckmann , in this case, the goal is to retain the same debug information (related to the instruction that we are replacing), but building the instruction in a different (shifted) position.
When commiting applyUpdToConcat. This enables more postinc combiner cases.