commit | 0a7baafe6489b8973a26377f38da7a8fd8ee65b6 | [log] [tgz] |
---|---|---|
author | Dehao Chen <dehao@google.com> | Thu Nov 19 19:53:05 2015 +0000 |
committer | Dehao Chen <dehao@google.com> | Thu Nov 19 19:53:05 2015 +0000 |
tree | 1f6ded185a8862c9ef6779daae9ea7f01642f813 | |
parent | 248c59499bd4add31dac7389b5ff6fbf537438cc [diff] |
Reimplement discriminator assignment algorithm. Summary: The new algorithm is more efficient (O(n), n is number of basic blocks). And it is guaranteed to cover all cases of multiple BB mapped to same line. Reviewers: dblaikie, davidxl, dnovillo Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14738 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253594 91177308-0d34-0410-b5e6-96231b3b80d8