diff options
Diffstat (limited to 'llvm/lib/CodeGen/ExpandISelPseudos.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ExpandISelPseudos.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ExpandISelPseudos.cpp b/llvm/lib/CodeGen/ExpandISelPseudos.cpp index 90ddac94f93..37cbba95f11 100644 --- a/llvm/lib/CodeGen/ExpandISelPseudos.cpp +++ b/llvm/lib/CodeGen/ExpandISelPseudos.cpp @@ -58,8 +58,7 @@ bool ExpandISelPseudos::runOnMachineFunction(MachineFunction &MF) { // If MI is a pseudo, expand it. if (MI->usesCustomInsertionHook()) { Changed = true; - MachineBasicBlock *NewMBB = - TLI->EmitInstrWithCustomInserter(MI, MBB); + MachineBasicBlock *NewMBB = TLI->EmitInstrWithCustomInserter(*MI, MBB); // The expansion may involve new basic blocks. if (NewMBB != MBB) { MBB = NewMBB; |