forked from OSchip/llvm-project
Revert f7381a795a
Roll-forward 29fada4a3d
.
Issue triggered was due to UB.
Differential Revision: https://reviews.llvm.org/D121987
This commit is contained in:
parent
8e1d9f0032
commit
08075a7ee8
|
@ -598,10 +598,7 @@ public:
|
|||
const TargetTransformInfo &TTI, DominatorTree &DT,
|
||||
AssumptionCache &AC, MemorySSA *MSSA)
|
||||
: TLI(TLI), TTI(TTI), DT(DT), AC(AC), SQ(DL, &TLI, &DT, &AC), MSSA(MSSA),
|
||||
MSSAUpdater(std::make_unique<MemorySSAUpdater>(MSSA)) {
|
||||
if (MSSA)
|
||||
MSSA->ensureOptimizedUses();
|
||||
}
|
||||
MSSAUpdater(std::make_unique<MemorySSAUpdater>(MSSA)) {}
|
||||
|
||||
bool run();
|
||||
|
||||
|
|
Loading…
Reference in New Issue