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,
|
const TargetTransformInfo &TTI, DominatorTree &DT,
|
||||||
AssumptionCache &AC, MemorySSA *MSSA)
|
AssumptionCache &AC, MemorySSA *MSSA)
|
||||||
: TLI(TLI), TTI(TTI), DT(DT), AC(AC), SQ(DL, &TLI, &DT, &AC), MSSA(MSSA),
|
: TLI(TLI), TTI(TTI), DT(DT), AC(AC), SQ(DL, &TLI, &DT, &AC), MSSA(MSSA),
|
||||||
MSSAUpdater(std::make_unique<MemorySSAUpdater>(MSSA)) {
|
MSSAUpdater(std::make_unique<MemorySSAUpdater>(MSSA)) {}
|
||||||
if (MSSA)
|
|
||||||
MSSA->ensureOptimizedUses();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool run();
|
bool run();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue