[llvm] [AMDGPU] CodeGen for GFX12 8/16-bit SMEM loads (PR #77633)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 19:15:40 PST 2024


arsenm wrote:

> > We have some combine logic specifically avoiding extload formation on the basis of sub-dword scalar loads not being supported. I assume those are updated in a later patch?
> 
> I have follow up patches to update SITargetLowering::isLegalAddressingMode and to disable AMDGPULateCodeGenPrepare.
> 
> The only other vaguely related thing I could find is SITargetLowering::widenLoad, which should perhaps be disabled.
> 
> Are you thinking of something else?

I was thinking TLI.shouldReduceLoadWidth and the LateCodeGenPrepare handling 

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


More information about the llvm-commits mailing list