[llvm] [TTI] Introduce getInstructionUniformity API for flexible uniformity analysis (PR #137639)

Pankaj Dwivedi via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 07:22:26 PST 2025


PankajDwivedi-25 wrote:

> > > What happened to the idea of a preliminary NFC patch to introduce TTI::getInstructionUniformity as a replacement for isAlwaysUniform/isSourceOfDivergence?
> > 
> > 
> > As per our previous discussion, it's better to make that part of this patch only to catch any edge case?
> 
> I don't understand that argument. I'd much prefer to see it as a separate patch.

Let me do it as a separate patch only. I would prefer to keeping it as a wrapper on top of isAlwaysUniform and isSourceOfDivergence.

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


More information about the llvm-commits mailing list