[PATCH] D40375: Use MemorySSA in LICM to do sinking and hoisting.
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 22 14:54:45 PST 2017
asbirlea created this revision.
Herald added a subscriber: Prazek.
Step 2 in using MemorySSA in LICM:
Use MemorySSA in LICM to do sinking and hoisting, all under "EnableMSSALoopDependency" flag.
Promotion is disabled.
Enable flag in LICM sink/hoist tests to test correctness of this change. Moved one test which
relied on promotion, in order to test all sinking tests.
https://reviews.llvm.org/D40375
Files:
include/llvm/Transforms/Utils/LoopUtils.h
lib/Transforms/Scalar/LICM.cpp
lib/Transforms/Scalar/LoopSink.cpp
test/Transforms/LICM/hoist-bitcast-load.ll
test/Transforms/LICM/hoist-deref-load.ll
test/Transforms/LICM/hoist-fast-fdiv.ll
test/Transforms/LICM/hoist-invariant-load.ll
test/Transforms/LICM/hoist-nounwind.ll
test/Transforms/LICM/hoist-round.ll
test/Transforms/LICM/hoisting.ll
test/Transforms/LICM/sink.ll
test/Transforms/LICM/sinking.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40375.124012.patch
Type: text/x-patch
Size: 30643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171122/4615e05f/attachment.bin>
More information about the llvm-commits
mailing list