[PATCH] D117720: AMDGPU/GlobalISel: Do not create readfirstlane with non-s32 type

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 20:25:39 PST 2022


arsenm added inline comments.
Herald added a subscriber: kosarev.
Herald added a project: All.


================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_ps.ll:142-144
+; define amdgpu_ps <2 x i16> @sgpr_return_v2i16(<2 x i16> %vgpr) {
+;   ret <2 x i16> %vgpr
+; }
----------------
foad wrote:
> Looks like an abandoned attempt to test the bitcast path?
v2i16 isn't actually added to the calling convention handling, so it fails on the DAG and fails here. I'll just add it because why not 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117720/new/

https://reviews.llvm.org/D117720



More information about the llvm-commits mailing list