[PATCH] D37076: [LICM] Allow sinking when foldable in loop
Jun Bum Lim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 15:49:31 PDT 2017
junbuml updated this revision to Diff 117752.
junbuml added a comment.
Instead of being restricted on GEP, allow this for all zero-cost instructions. Please take a look and let me know any comment.
https://reviews.llvm.org/D37076
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/CodeGen/BasicTTIImpl.h
include/llvm/Transforms/Utils/LoopUtils.h
lib/Analysis/TargetTransformInfo.cpp
lib/Transforms/Scalar/LICM.cpp
test/Transforms/LICM/sink-foldable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37076.117752.patch
Type: text/x-patch
Size: 20612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171004/edb6b006/attachment.bin>
More information about the llvm-commits
mailing list