[llvm] [UniformityAnalysis] Skip CycleAnalysis on targets without branch divergence (PR #189948)
Pankaj Dwivedi via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 05:21:46 PDT 2026
PankajDwivedi-25 wrote:
> > > I'm slightly surprised that this does not affect tests like `test/CodeGen/AMDGPU/llc-pipeline-npm.ll`.
> >
> >
> > isn't this beacuse test runs with `-mtriple=amdgcn--amdhsa`, so hasBranchDivergence() returns true?
>
> Yes you're right. I was thinking about similar tests for other targets. I thought they might show that cycle analysis is no longer run in some cases.
It's because UniformityInfoAnalysis is not part of the other pipeline at all.
https://github.com/llvm/llvm-project/pull/189948
More information about the llvm-commits
mailing list