[llvm] [AMDGPU] Allow lane-op lowering for some illegal types (PR #114887)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 09:05:02 PST 2024


rampitec wrote:

> > Clang can produce intrinsic with char argument out of builtin. Will be able after #115090.
> 
> It makes sense to overload and accept the types that will naturally be passed in registers, but I don't think we want to permit cases where there's going to be an implicit cast. Maybe it's OK for i8, but i1 is special and we probably shouldn't treat it like an arbitrary VGPR value

It's really just tests added for i1. There is nothing in the code specifically checking for data types.

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


More information about the llvm-commits mailing list