[PATCH] D108281: [GVN] Improve alias analysis for parallel accesses

Alban Bridonneau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 02:15:11 PDT 2021


alban.bridonneau created this revision.
Herald added subscribers: jeroen.dobbelaere, bmahjour, hiraditya.
alban.bridonneau requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch helps to eliminate more loads in loops with the omp simd pragma,
as part of the GVN pass.
This pragma indicates groups of load/stores that we know are not
aliasing. Through better alias analysis, we can find more accurately
a memory access which provides the same data as the loads
we want to eliminate.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108281

Files:
  llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
  llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
  llvm/test/Transforms/GVN/access_group.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108281.367150.patch
Type: text/x-patch
Size: 8075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/cc2c5edb/attachment.bin>


More information about the llvm-commits mailing list