We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d94edf commit f0d867cCopy full SHA for f0d867c
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -435,7 +435,10 @@ void PassManagerBuilder::addFunctionSimplificationPasses(
435
if (OptLevel > 1)
436
MPM.add(createTailCallEliminationPass()); // Eliminate tail calls
437
MPM.add(createCFGSimplificationPass()); // Merge & remove BBs
438
- MPM.add(createReassociatePass()); // Reassociate expressions
+ // FIXME: re-association increases variables liveness and therefore register
439
+ // pressure.
440
+ if (!SYCLOptimizationMode)
441
+ MPM.add(createReassociatePass()); // Reassociate expressions
442
443
// Do not run loop pass pipeline in "SYCL Optimization Mode". Loop
444
// optimizations rely on TTI, which is not accurate for SPIR target.
0 commit comments