llvm-project
d4706e17 - [AMDGPU][True16][CodeGen] readfirstlane for vgpr16 copy to sgpr32 (#118037)

Commit
149 days ago
[AMDGPU][True16][CodeGen] readfirstlane for vgpr16 copy to sgpr32 (#118037) i16 can be selected into sgpr32 or vgpr16 in isel lowering in true16 mode. And thus, it creates cases that we copy from vgpr16 to sgpr32 in ext selection and this seems inevitable without sgpr16 support. legalize the src/dst reg when we decide to lower this special copy to a readfirstlane in fix-sgpr-copy pass and add a lit test
Author
Parents
Loading