[llvm] [AMDGPU] Fix edge case of buffer OOB handling (PR #115479)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 18:41:54 PST 2025


================
@@ -119,10 +119,10 @@ def FeatureUnalignedDSAccess : SubtargetFeature<"unaligned-ds-access",
   "Hardware supports unaligned local and region loads and stores"
 >;
 
-def FeatureRequireNaturallyAlignedBufferAccess : SubtargetFeature<"require-naturally-aligned-buffer-access",
-  "RequireNaturallyAlignedBufferAccess",
-  "true",
-  "Requires natural alignment of buffer accesses to achieve robust out-of-bounds behavior, ensuring that accesses starting out-of-bounds remain distinct from those starting in-bounds"
+def FeatureRelaxedBufferOOBMode : SubtargetFeature<"relaxed-buffer-oob-mode",
+  "RelaxedBufferOOBMode",
+   "true",
+  "Enable relaxed out-of-bounds behavior for buffer accesses"
----------------
arsenm wrote:

Describe what this means. I'm not sure relaxed is the best name for this 

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


More information about the llvm-commits mailing list