[PATCH] D23114: [PM] Introduce a devirtualization iteration layer for the new PM.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 4 19:07:48 PDT 2016


chandlerc updated this revision to Diff 70302.
chandlerc marked an inline comment as done.
chandlerc added a comment.

Add a test case that covers devirtualization that actually turns into an
intrinsic.

Also improved the testing to be more precise and robust.

Added support for iterating even if we turn an indirect call into a direct call
to an intrinsic and added support for the heuristic of changing the call count
that the old PM used.


https://reviews.llvm.org/D23114

Files:
  include/llvm/Analysis/CGSCCPassManager.h
  lib/Passes/PassBuilder.cpp
  test/Other/cgscc-devirt-iteration.ll
  test/Other/cgscc-observe-devirt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23114.70302.patch
Type: text/x-patch
Size: 20359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160905/eb545654/attachment.bin>


More information about the llvm-commits mailing list