[llvm] [AMDGPU] Add target feature require-naturally-aligned-buffer-access (PR #115479)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 07:19:03 PST 2024
================
@@ -600,6 +601,10 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
return UnalignedAccessMode;
}
+ bool requiresNaturallyAlignedBufferAccess() const {
----------------
shiltian wrote:
I guess you can directly use `hasRequireNaturallyAlignedBufferAccess`. Grammar is not that important here. :-)
https://github.com/llvm/llvm-project/pull/115479
More information about the llvm-commits
mailing list