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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 23:26:36 PDT 2024


================
@@ -0,0 +1,48 @@
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -passes=instcombine %s | FileCheck %s
+
+; Variant of select with addrspacecast in one branch on path to root alloca (ic opt is then disabled)
----------------
arsenm wrote:

Did this used to crash or something? 

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


More information about the llvm-commits mailing list