Propagate memory operands when folding load instructions into instructions that directly operate on memory.
The original revision has been split. See D80140 for the other part of the changes.
Differential D80062
[x86] Propagate memory operands during call frame optimization Kayjukh on May 16 2020, 5:04 AM. Authored by
Details Propagate memory operands when folding load instructions into instructions that directly operate on memory. The original revision has been split. See D80140 for the other part of the changes.
Diff Detail Event Timeline
Comment Actions For the X86ISelDAGToDAG.cpp change it should be possible to do -stop-after=finalize-isel and inspect the MIR output. For the out we should be able to have .mir input that just runs the call frame optimization pass. We should split these two changes into two reviews. Comment Actions Code looks reasonable. It would be nice to have an MIR testcase showing the memoperands after this pass runs, even if there isn't any change to the final asm without additional work. |
This captures the memoperand for the load of the source, but what about the store to the stack?