[PATCH] D14738: Reimplement discriminator assignment algorithm.
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 16 17:23:13 PST 2015
danielcdh created this revision.
danielcdh added reviewers: dnovillo, dblaikie, davidxl.
danielcdh added a subscriber: llvm-commits.
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.
http://reviews.llvm.org/D14738
Files:
lib/Transforms/Utils/AddDiscriminators.cpp
test/Transforms/AddDiscriminators/diamond.ll
test/Transforms/AddDiscriminators/oneline.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14738.40366.patch
Type: text/x-patch
Size: 9796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151117/9712bc1f/attachment.bin>
More information about the llvm-commits
mailing list