[llvm] r352098 - Fix a compiler error introduced in r352093.
Haojian Wu via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 12:30:49 PST 2019
Author: hokein
Date: Thu Jan 24 12:30:48 2019
New Revision: 352098
URL: http://llvm.org/viewvc/llvm-project?rev=352098&view=rev
Log:
Fix a compiler error introduced in r352093.
Modified:
llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LICM.cpp?rev=352098&r1=352097&r2=352098&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LICM.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LICM.cpp Thu Jan 24 12:30:48 2019
@@ -1318,7 +1318,7 @@ static void moveInstructionBefore(Instru
if (MSSAU)
if (MemoryUseOrDef *OldMemAcc = cast_or_null<MemoryUseOrDef>(
MSSAU->getMemorySSA()->getMemoryAccess(&I)))
- MSSAU->moveToPlace(OldMemAcc, Dest->getParent(), MemorySSA::End);
+ MSSAU->moveToPlace(OldMemAcc, Dest.getParent(), MemorySSA::End);
}
static Instruction *sinkThroughTriviallyReplaceablePHI(
More information about the llvm-commits
mailing list