Add discriminators for call instructions that are from the same line and same basic...
authorDehao Chen <dehao@google.com>
Mon, 9 Nov 2015 17:30:38 +0000 (17:30 +0000)
committerDehao Chen <dehao@google.com>
Mon, 9 Nov 2015 17:30:38 +0000 (17:30 +0000)
commitb16171eac28b38af61739c4b3895b26a1915592c
tree8fbc323c5ee03dff643ccbd55bf7f87434cbe7dc
parent01eac645064dde04ea609a8a742b1b996ef79179
Add discriminators for call instructions that are from the same line and same basic block.

Summary: Call instructions that are from the same line and same basic block needs to have separate discriminators to distinguish between different callsites.

Reviewers: davidxl, dnovillo, dblaikie

Subscribers: dblaikie, probinson, llvm-commits

Differential Revision: http://reviews.llvm.org/D14464

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252492 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/AddDiscriminators.cpp
test/Transforms/AddDiscriminators/call.ll [new file with mode: 0644]