[clang] [llvm] [AMDGPU] Add intrinsics for v_[pk]_add_{min|max}_* instructions (PR #164731)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 00:22:34 PDT 2025


rampitec wrote:

> > > Please revert, these should not be intrinsics. This is a trivial pattern
> > 
> > 
> > No, this is not a trivial pattern. I will change the pattern instead. The documentation was in fact incorrect and the intermediate add is not an add, but rather uaddsat or saddsat.
> 
> Which is still a trivial pattern

Pattern is trivial, but practically impossible to achieve from a source code.

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


More information about the llvm-commits mailing list