[llvm] [InstCombine][AMDGPU] Disable PtrReplacer when select has mismatch AS. (PR #98456)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 07:22:28 PDT 2024


https://github.com/arsenm commented:

Checking specifically for select x, cast, cast seems too specific of a pattern to defend against an assertion. What happens if there are arbitrary indexing separating them? 

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


More information about the llvm-commits mailing list