In PostRA phase, we often have to find out the most recent definition of a register.
This patch adds getDefMIPostRA so that other methods can use it rather than implementing it repeatedly.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
FYI, I should have make getDefMIPostRA public. So I committed another NFC patch to make getDefMIPostRA public. https://reviews.llvm.org/rG985e52a4c1c6
MI -> \p MI
Reg -> \p Reg