[PATCH] D44627: [CallSiteSplitting] Only record conditions up to the IDom(call site).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 05:51:43 PDT 2018


fhahn updated this revision to Diff 140212.
fhahn added a comment.

I moved code around a bit and updated it to explicitly gather common conditions starting from IDom(CS). While I do think that we ideally handle that somewhere else before inlining, it is quite easy to do it here for now.


https://reviews.llvm.org/D44627

Files:
  lib/Transforms/Scalar/CallSiteSplitting.cpp
  test/Other/new-pm-lto-defaults.ll
  test/Transforms/CallSiteSplitting/callsite-split-or-phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44627.140212.patch
Type: text/x-patch
Size: 11045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180329/4308fb0b/attachment.bin>


More information about the llvm-commits mailing list