[llvm] r296222 - Minor code cleanup. NFC.
Junmo Park via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 24 17:50:46 PST 2017
Author: flyingforyou
Date: Fri Feb 24 19:50:45 2017
New Revision: 296222
URL: http://llvm.org/viewvc/llvm-project?rev=296222&view=rev
Log:
Minor code cleanup. NFC.
Modified:
llvm/trunk/lib/CodeGen/InlineSpiller.cpp
Modified: llvm/trunk/lib/CodeGen/InlineSpiller.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/InlineSpiller.cpp?rev=296222&r1=296221&r2=296222&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/InlineSpiller.cpp (original)
+++ llvm/trunk/lib/CodeGen/InlineSpiller.cpp Fri Feb 24 19:50:45 2017
@@ -558,7 +558,7 @@ bool InlineSpiller::reMaterializeFor(Liv
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());
More information about the llvm-commits
mailing list