[PATCH] D52024: LSV: Fix adjust alloca alignment trick for AMDGPU

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 13 04:25:01 PDT 2018


arsenm created this revision.
arsenm added reviewers: volkan, bkramer.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

This was checking the hardcoded address space 0 for the stack.
Additionally, this should be checking for legality with
the adjusted alignment, so defer the alignment check.

Also try to split if the unaligned access isn't allowed.


https://reviews.llvm.org/D52024

Files:
  lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  test/Transforms/LoadStoreVectorizer/AMDGPU/adjust-alloca-alignment.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52024.165247.patch
Type: text/x-patch
Size: 9512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180913/7e58cbbd/attachment.bin>


More information about the llvm-commits mailing list