mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-02 09:58:06 +00:00
Minor code cleanup. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a1a6e3516
commit
c236d01938
@ -558,7 +558,7 @@ bool InlineSpiller::reMaterializeFor(LiveInterval &VirtReg, MachineInstr &MI) {
|
||||
Edit->rematerializeAt(*MI.getParent(), MI, NewVReg, RM, TRI);
|
||||
|
||||
// We take the DebugLoc from MI, since OrigMI may be attributed to a
|
||||
// different source location.
|
||||
// different source location.
|
||||
auto *NewMI = LIS.getInstructionFromIndex(DefIdx);
|
||||
NewMI->setDebugLoc(MI.getDebugLoc());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user