[llvm] r356189 - [MemorySSA] Remove redundant walker assignment [NFC].
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 11:45:17 PDT 2019
Author: asbirlea
Date: Thu Mar 14 11:45:17 2019
New Revision: 356189
URL: http://llvm.org/viewvc/llvm-project?rev=356189&view=rev
Log:
[MemorySSA] Remove redundant walker assignment [NFC].
Subscribers: llvm-commits
Modified:
llvm/trunk/lib/Analysis/MemorySSA.cpp
Modified: llvm/trunk/lib/Analysis/MemorySSA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemorySSA.cpp?rev=356189&r1=356188&r2=356189&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemorySSA.cpp (original)
+++ llvm/trunk/lib/Analysis/MemorySSA.cpp Thu Mar 14 11:45:17 2019
@@ -1194,9 +1194,7 @@ class MemorySSA::OptimizeUses {
public:
OptimizeUses(MemorySSA *MSSA, MemorySSAWalker *Walker, AliasAnalysis *AA,
DominatorTree *DT)
- : MSSA(MSSA), Walker(Walker), AA(AA), DT(DT) {
- Walker = MSSA->getWalker();
- }
+ : MSSA(MSSA), Walker(Walker), AA(AA), DT(DT) {}
void optimizeUses();
More information about the llvm-commits
mailing list