[llvm] [AMDGPU][True16] Legalize S16 for stores & loads in GlobalISel when True16 is enabled (PR #176963)

Domenic Nutile via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 09:18:25 PDT 2026


saxlungs wrote:

> I am a bit lost now, you removed all changes from Legalizer (except one blank new line). Some tests have new run lines with +/- true16 but cpp changes in regbanklegalize and regbankcombiner is now unused. In summary looks like something is missing or I am doing something wrong, can you check again. Was this meant to be just improved true16 testing, then actual cpp changes later ?

Sorry about that Petar! You are fine and didn't miss anything, I was the one who got confused. When I was trying to separate out changes for other PRs I got confused about which changes were responsible for which testing updates. I've added back the important change and got the testing updated again. As we discussed previously, these explicit legalForTypesWithMemDesc calls may not speed up compilation, but they are necessary to achieve some of the ISA instructions we're looking for here. Hopefully this version is correct, let me know if there's still any confusion

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


More information about the llvm-commits mailing list