mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
[BACKEND] Disable BreakPhiStruct pass (#2458)
This is causing functional failures in pytorch workload. Disabling it until I figure out the problem.
This commit is contained in:
@@ -122,14 +122,6 @@ makeOptimizingPipeline(unsigned optLevel, unsigned sizeLevel,
|
||||
pb.crossRegisterProxies(lam, fam, cgam, mam);
|
||||
|
||||
ModulePassManager mpm;
|
||||
pb.registerVectorizerStartEPCallback(
|
||||
[&](llvm::FunctionPassManager &fpm, llvm::OptimizationLevel level) {
|
||||
// Triton generates large structure of scalars which may pessimise
|
||||
// optimizations, we run a pass to break up phi of struct to make sure
|
||||
// all the struct are removed for the following passes.
|
||||
fpm.addPass(BreakStructPhiNodesPass());
|
||||
fpm.addPass(InstCombinePass());
|
||||
});
|
||||
mpm.addPass(pb.buildPerModuleDefaultPipeline(*ol));
|
||||
mpm.run(*m, mam);
|
||||
return Error::success();
|
||||
|
||||
Reference in New Issue
Block a user