[PATCH] D23906: LSV: Fix incorrectly increasing alignment

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 22:19:23 PDT 2016


arsenm created this revision.
arsenm added reviewers: jlebar, escha, asbirlea.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added a subscriber: mzolotukhin.

If the unaligned access has a dynamic offset, it may be odd which
would make the adjusted alignment incorrect to use.


https://reviews.llvm.org/D23906

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23906.69318.patch
Type: text/x-patch
Size: 10526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160826/e3975422/attachment.bin>


More information about the llvm-commits mailing list