[PATCH] D82788: [AMDGPU] Fix alignment requirements for 96bit and 128bit local loads and stores
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 09:02:57 PDT 2020
mbrkusanin added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:1397-1398
+ // disabled.
+ if (Subtarget->hasUnalignedDSAccess() &&
+ Subtarget->hasUnalignedAccessMode()) {
+ if (IsFast)
----------------
arsenm wrote:
> We should do something to avoid every user needing to consider both ModeEnabled && ModeWorks. You can leave that for the later cleanup patch though; either you can move this combination check into a helper method, or somehow make the lack of hardware support imply the mode is disabled
This is handled in child revision.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82788/new/
https://reviews.llvm.org/D82788
More information about the llvm-commits
mailing list