[PATCH] D90404: [AMDGPU] Add alignment check for v3 to v4 load type promotion
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 30 05:28:56 PDT 2020
foad added a comment.
Looks good to me. As a further enhancement you could call isDereferenceable on the MachineMemOperand to see if the extra 4 bytes that a widened load would access are guaranteed to be dereferenceable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90404/new/
https://reviews.llvm.org/D90404
More information about the llvm-commits
mailing list