[PATCH] D57967: [LICM&MSSA] Limit store hoisting.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 8 11:42:15 PST 2019


asbirlea created this revision.
asbirlea added a reviewer: george.burgess.iv.
Herald added subscribers: Prazek, jlebar, sanjoy.
Herald added a project: LLVM.

If there is no clobbering access for a store inside the loop, that store
can only be hoisted if there are no interfearing loads.
A more general verification introduced here: there are no loads that are
not optimized to an access outside the loop.
Addresses PR40586.


Repository:
  rL LLVM

https://reviews.llvm.org/D57967

Files:
  lib/Transforms/Scalar/LICM.cpp
  test/Transforms/LICM/store-hoisting.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57967.186012.patch
Type: text/x-patch
Size: 4545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190208/466ef6ee/attachment.bin>


More information about the llvm-commits mailing list