In TwoAddressInstructionPass::processTiedPairs when updating live
intervals after moving the last use of RegB back to the newly inserted
copy, update any affected subranges as well as the main range.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | ||
---|---|---|
1638–1641 | I did wonder if there should be a helper function in LiveIntervals for modifying a range and all relevant subranges, but it's not clear to me exactly what the API would be for that. |
Comment Actions
More subreg awareness: replace "bool ReplacedAllUntiedUses" with
"LaneBitmask RemainingUses". Fixes some RISCV test cases.
Comment Actions
Ping! This is a prerequisite for D112556 and for the goal of enabling -early-live-intervals by default.
I did wonder if there should be a helper function in LiveIntervals for modifying a range and all relevant subranges, but it's not clear to me exactly what the API would be for that.