[llvm] [AMDGPU] Handle natively unsupported types in addrspace(7) lowering (PR #110572)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 18:49:58 PST 2024


================
@@ -1256,7 +1809,7 @@ PtrParts SplitPtrStructs::visitGetElementPtrInst(GetElementPtrInst &GEP) {
 
   auto [Rsrc, Off] = getPtrParts(Ptr);
   const DataLayout &DL = GEP.getDataLayout();
-  bool InBounds = GEP.isInBounds();
+  bool IsNUW = GEP.hasNoUnsignedWrap();
----------------
arsenm wrote:

Separate bug fix? 

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


More information about the llvm-commits mailing list