[PATCH] D19507: LoadStoreVectorizer: Don't increase alignment with no align set

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 15:15:37 PDT 2016


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

If no alignment was set on the load/stores, it would vectorize
to the new type even though this increases the default alignment.

http://reviews.llvm.org/D19507

Files:
  lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores-private.ll
  test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores.ll
  test/Transforms/LoadStoreVectorizer/AMDGPU/missing-alignment.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19507.54927.patch
Type: text/x-patch
Size: 11361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160425/fc5d4da5/attachment.bin>


More information about the llvm-commits mailing list