[llvm] [AMDGPU] Fix edge case of buffer OOB handling (PR #115479)
Piotr Sobczak via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 05:29:55 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"
----------------
piotrAMD wrote:
I have extended the description. Would it be better to replace "relaxed" with "non-strict"?
https://github.com/llvm/llvm-project/pull/115479
More information about the llvm-commits
mailing list