[PATCH] D105253: GlobalISel: Handle lowering non-power-of-2 extloads
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 1 08:12:15 PDT 2021
arsenm updated this revision to Diff 355888.
arsenm added a comment.
Use correct power of 2, not just ceil. Handling the case where the widened type is the same or not is more annoying than it should be
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105253/new/
https://reviews.llvm.org/D105253
Files:
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sextload-global.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-zextload-global.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105253.355888.patch
Type: text/x-patch
Size: 34537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210701/dd0acca8/attachment.bin>
More information about the llvm-commits
mailing list