[PATCH] D29331: [LICM] Hoist loads that are dominated by invariant.start intrinsic, and are invariant in the loop.
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 08:28:53 PST 2017
anna created this revision.
We can hoist out loads that are dominated by invariant.start to the preheader.
We conservatively assume the load is variant, if we see a corresponding
invariant.end intrinsic.
https://reviews.llvm.org/D29331
Files:
lib/Transforms/Scalar/LICM.cpp
test/Transforms/LICM/hoisting.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29331.86440.patch
Type: text/x-patch
Size: 7002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170131/3a98b25b/attachment.bin>
More information about the llvm-commits
mailing list