AMDGPU/GlobalISel: Do not create readfirstlane with non-s32 type
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 19 Jan 2022 21:16:20 +0000 (16:16 -0500)
committerMatt Arsenault <arsenm2@gmail.com>
Fri, 16 Dec 2022 02:44:07 +0000 (21:44 -0500)
commitb5edd522d195447e3ae16f95c5821762edbf815a
treea20d5bb88a3e83e695c19814a449413c1b30be05
parentbcd0bf9284db0d5d4697611ff9bf3243504aab07
AMDGPU/GlobalISel: Do not create readfirstlane with non-s32 type

We should probably handle any 32-bit type here, but the intrinsic
definition and selection pattern currently do not. Avoids a few lit
tests failures when switched on by default.
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td
llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_ps.ll