[PATCH] D47816: [InstCombine] Don't sink instructions across inlined function call.

Renlin Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 12:17:00 PDT 2018


renlin updated this revision to Diff 150174.
renlin edited the summary of this revision.
renlin added a comment.

- Update to use TargetTransformInfor::isLoweredToCall
- Simplify the logic, remove the back-backward search from the user.


https://reviews.llvm.org/D47816

Files:
  lib/Transforms/InstCombine/InstCombineInternal.h
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/sink_across_call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47816.150174.patch
Type: text/x-patch
Size: 6907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180606/205803dd/attachment.bin>


More information about the llvm-commits mailing list