[PATCH] D28966: [PGO] Memory intrinsic calls optimization based on profiled size

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 14:05:07 PDT 2017


xur updated this revision to Diff 92382.
xur added a comment.
Herald added a subscriber: mehdi_amini.

Integrated David's suggestion to make the optimization a stand along pass (a function pass). 
It currently resides in IndirectCallPromotion.cpp. I will have a follow-up patch to change IndirectCallPromotion.cpp to a more appropriate name.

-Rong


https://reviews.llvm.org/D28966

Files:
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/ProfileData/InstrProf.h
  include/llvm/Transforms/InstrProfiling.h
  include/llvm/Transforms/Instrumentation.h
  include/llvm/Transforms/PGOInstrumentation.h
  lib/Passes/PassRegistry.def
  lib/ProfileData/InstrProf.cpp
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  lib/Transforms/Instrumentation/InstrProfiling.cpp
  lib/Transforms/Instrumentation/Instrumentation.cpp
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  test/Other/pass-pipelines.ll
  test/Transforms/PGOProfile/memop_size_opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28966.92382.patch
Type: text/x-patch
Size: 25372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170320/ca2f9ec4/attachment.bin>


More information about the llvm-commits mailing list