[PATCH] D22071: Correct ordering of loads/stores.

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 14:34:38 PDT 2016


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

Aiming to correct the ordering of loads/stores. This patch changes insert point for loads to the position of the first load; it adds a new ordering method for loads to insert before, rather than after the load.
Updated testcases to reflect the changes.

http://reviews.llvm.org/D22071

Files:
  lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  test/Transforms/LoadStoreVectorizer/AMDGPU/insertion-point.ll
  test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores.ll
  test/Transforms/LoadStoreVectorizer/X86/correct-order.ll
  test/Transforms/LoadStoreVectorizer/X86/subchain-interleaved.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22071.62977.patch
Type: text/x-patch
Size: 13387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160706/595f84b1/attachment.bin>


More information about the llvm-commits mailing list