Seeing a test failure with asan in Halide generated code, reverting
while I investigate.

Differential Revision: https://reviews.llvm.org/D121987
This commit is contained in:
Alina Sbirlea
2022-03-28 16:16:07 -07:00
parent 27ef7494b1
commit f7381a795a

View File

@@ -598,7 +598,10 @@ 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)) {}
MSSAUpdater(std::make_unique<MemorySSAUpdater>(MSSA)) {
if (MSSA)
MSSA->ensureOptimizedUses();
}
bool run();