[PATCH] D73127: AMDGPU/GlobalISel: Widen non-power-of-2 load results
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 11:27:18 PST 2020
arsenm created this revision.
arsenm added reviewers: nhaehnle, kerbowa, tstellar.
Herald added subscribers: Petar.Avramovic, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
arsenm added parent revisions: D73118: AMDGPU/GlobalISel: Use more wide vector load/stores, D73114: AMDGPU/GlobalISel: Improve legalization of wide stores.
Load extra bits if suitably aligned. This allows using widened
3-vector loads on SI, and fixes legalization for <9 x s32> (which LSV
apparently forms frequently on lowered kernel argument lists).
https://reviews.llvm.org/D73127
Files:
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store-global.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73127.239385.patch
Type: text/x-patch
Size: 444636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200121/91db97f8/attachment-0001.bin>
More information about the llvm-commits
mailing list