[PATCH] D23549: [SROA] Preserve llvm.mem.parallel_loop_access metadata

Dorit Nuzman via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 05:32:11 PDT 2016


dorit created this revision.
dorit added a reviewer: reames.
dorit added subscribers: Ayal, gilr, magabari, delena, llvm-commits.

SROA doesn't preserve the llvm.mem.parallel_loop_access metadata when it transforms loads/stores.

(This patch is not a systematic effort to catch all the cases missed by SROA, but it at least covers those exposed by this testcase / by PR28981).

https://reviews.llvm.org/D23549

Files:
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/test/Transforms/SROA/mem-par-metadata-sroa.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23549.68028.patch
Type: text/x-patch
Size: 8198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160816/aa49c31a/attachment.bin>


More information about the llvm-commits mailing list