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
Event Timeline
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | ||
---|---|---|
635 | 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 | ||
---|---|---|
635 | I can move it into the top of addStraightLineScalarOptimizationPasses(). This will be after the SROA, so DT will exist. |
Why here? Does this trigger a dominator tree recalculation? If so can it be moved somewhere else where it's already available?