[llvm] r301681 - GlobalISel: Followup for r301679
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 13:31:50 PDT 2017
Author: matze
Date: Fri Apr 28 15:31:49 2017
New Revision: 301681
URL: http://llvm.org/viewvc/llvm-project?rev=301681&view=rev
Log:
GlobalISel: Followup for r301679
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp?rev=301681&r1=301680&r2=301681&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp Fri Apr 28 15:31:49 2017
@@ -1199,7 +1199,8 @@ bool IRTranslator::runOnMachineFunction(
finishPendingPhis();
- TLI->finalizeLowering(*MF);
+ auto &TLI = *MF->getSubtarget().getTargetLowering();
+ TLI.finalizeLowering(*MF);
// Merge the argument lowering and constants block with its single
// successor, the LLVM-IR entry block. We want the basic block to
More information about the llvm-commits
mailing list