[PATCH] D17864: [PGO] Promote indirect calls to conditional direct calls with value-profile

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 20:46:53 PDT 2016


xur updated this revision to Diff 52762.
xur added a comment.

Update the patch with recently refactoring patches. 
Add handling of invoke instructions (covariant return type for invoke is to be supported later).
Also add some internal options for debugging. 
Stressed tested with SPEC2006.


http://reviews.llvm.org/D17864

Files:
  include/llvm/IR/InstrTypes.h
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Instrumentation.h
  lib/IR/Instructions.cpp
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/Instrumentation/CMakeLists.txt
  lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  lib/Transforms/Instrumentation/Instrumentation.cpp
  test/Transforms/PGOProfile/icp_covariant_return.ll
  test/Transforms/PGOProfile/icp_invoke.ll
  test/Transforms/PGOProfile/icp_mismatch_msg.ll
  test/Transforms/PGOProfile/icp_vararg.ll
  test/Transforms/PGOProfile/indirect_call_promotion.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17864.52762.patch
Type: text/x-patch
Size: 42038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160406/e563fe83/attachment.bin>


More information about the llvm-commits mailing list