[PATCH] D33946: [InlineCost] Find identical loads in the callee

Haicheng Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 18:52:21 PDT 2017


haicheng updated this revision to Diff 117297.
haicheng added a comment.

Use ValueTracking::isAssumeLikeIntrinsic() to find intrinsics that do not clobber load.


Repository:
  rL LLVM

https://reviews.llvm.org/D33946

Files:
  include/llvm/Analysis/ValueTracking.h
  lib/Analysis/InlineCost.cpp
  lib/Analysis/ValueTracking.cpp
  test/Transforms/Inline/redundant-loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33946.117297.patch
Type: text/x-patch
Size: 10804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171002/1b8c190c/attachment.bin>


More information about the llvm-commits mailing list