This allows to hoist code portion to compute reciprocal of loop
invariant denominator in integer division after codegen prepare
expansion.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | ||
---|---|---|
642 ↗ | (On Diff #153337) | Why here? Does this trigger a dominator tree recalculation? If so can it be moved somewhere else where it's already available? |
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | ||
---|---|---|
642 ↗ | (On Diff #153337) | I can move it into the top of addStraightLineScalarOptimizationPasses(). This will be after the SROA, so DT will exist. |