[PATCH] D74645: Utils: Always alignment when expanding mem intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 13:34:40 PST 2020


arsenm created this revision.
arsenm added reviewers: sfertile, hfinkel, kbarton, tejohnson.
Herald added subscribers: kerbowa, hiraditya, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

This was creating natural aligned loads and stores, which may not be
the case. The target could request a wider type load with less
alignment.


https://reviews.llvm.org/D74645

Files:
  llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
  llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74645.244754.patch
Type: text/x-patch
Size: 21470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200214/f16ba202/attachment.bin>


More information about the llvm-commits mailing list