[llvm] Late temporal divergence lowering for SDAG (PR #67033)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 00:08:07 PDT 2023


ruiling wrote:

> > I doubt how much help MachineUniformityAnalysis could help here, can it correctly differentiate uniform/divergent booleans stored in SGPR at this late stage? Do you have some tests to show this?
> 
> MUA depends on TRI::isUniformReg(), which eventually relies on RBI::isDivergentRegBank(). So yes, MUA can differentiate between a uniform SGPR and a "VCC" type SGPR.

I think this is for the GlobalISel path? Does the SDAG path also work this way?

https://github.com/llvm/llvm-project/pull/67033


More information about the llvm-commits mailing list