[PartiallyInlineLibCalls] Add DebugCounter support
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 13 Sep 2018 20:33:04 +0000 (20:33 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 13 Sep 2018 20:33:04 +0000 (20:33 +0000)
commitd565b0f017e216aa5693484249628d03e98e8d27
tree13d6233bfdd58f7be63e0d6ece982409992fa0b2
parent083744852ab4a95ccde9fae49377583c181247d7
[PartiallyInlineLibCalls] Add DebugCounter support

This adds DebugCounter support to the PartiallyInlineLibCalls pass,
which should make debugging/automated bisection easier in the future.

Patch by Zhizhou Yang!

Differential Revision: https://reviews.llvm.org/D50093

llvm-svn: 342172
llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
llvm/test/Other/X86/debugcounter-partiallyinlinelibcalls.ll [new file with mode: 0644]