[PATCH] D80364: [amdgpu] Teach load widening to handle non-DWORD aligned loads.
Michael Liao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 23:58:58 PDT 2020
hliao created this revision.
hliao added reviewers: rampitec, arsenm.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
- If a load is naturally aligned but not DWORD aligned, load wideningg should handle the case where the address is the sum of a base pointer and a constant offset. That load is able to be widened by aligning that address and extracting the narrow value from the high part.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80364
Files:
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.dispatch.ptr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80364.265435.patch
Type: text/x-patch
Size: 6640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/72d626ab/attachment.bin>
More information about the llvm-commits
mailing list