[PATCH] D37362: [Polly][ZoneAlgo] Handle non-StoreInst/LoadInst MemoryAccesses including memset.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 17:01:59 PDT 2017


Meinersbur created this revision.
Herald added a reviewer: bollu.

Up to no ZoneAlgo considered array elements access by something else than a LoadInst or StoreInst as not analyzable. This patch removes that restriction by using the unknown ValInst to describe the written content, repectively the element type's null value in case of memseet.


https://reviews.llvm.org/D37362

Files:
  include/polly/ZoneAlgo.h
  lib/Transform/ZoneAlgo.cpp
  test/DeLICM/map_memset_zero.ll
  test/DeLICM/reject_unusualstore.ll
  test/ForwardOpTree/forward_load_memset_after.ll
  test/ForwardOpTree/forward_load_memset_before.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37362.113490.patch
Type: text/x-patch
Size: 12090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170901/d0c3ee94/attachment.bin>


More information about the llvm-commits mailing list