[llvm-branch-commits] [llvm] AMDGPU: Fix buffer load/store of pointers (PR #95379)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 13 08:11:15 PDT 2024


arsenm wrote:

That's what we've traditionally done and I think we should stop. We currently skip inserting the casts if the type is legal. 

It introduces extra bitcasts, which have a cost and increase pattern match complexity. We have a bunch of patterns that don't bother to look through the casts for a load/store 

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


More information about the llvm-branch-commits mailing list