[PATCH] D17742: Perform InstructioinCombiningPass before SampleProfile pass.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 29 14:42:24 PST 2016


danielcdh created this revision.
danielcdh added reviewers: davidxl, dnovillo.
danielcdh added a subscriber: llvm-commits.

SampleProfile pass needs to be performed after InstructionCombiningPass, which helps eliminate un-inlinable function calls.

http://reviews.llvm.org/D17742

Files:
  include/llvm/Transforms/InstCombine/InstCombine.h
  lib/Transforms/IPO/SampleProfile.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/SampleProfile/Inputs/inline-combine.prof
  test/Transforms/SampleProfile/calls.ll
  test/Transforms/SampleProfile/cov-zero-samples.ll
  test/Transforms/SampleProfile/inline-combine.ll
  test/Transforms/SampleProfile/inline-coverage.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17742.49426.patch
Type: text/x-patch
Size: 8664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160229/b7f3dec7/attachment.bin>


More information about the llvm-commits mailing list