[PATCH] D13914: Tolerate negative offset when matching sample profile.
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 29 10:31:23 PDT 2015
danielcdh updated this revision to Diff 38747.
danielcdh added a comment.
Update the discriminator assignment algorithm.
- If a scope has already been assigned a discriminator, do not reassign a nested discriminator for it.
- If the file and line both match, even if the column does not match, we should assign a new discriminator for the stmt.
http://reviews.llvm.org/D13914
Files:
lib/Transforms/Utils/AddDiscriminators.cpp
test/Transforms/AddDiscriminators/oneline.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13914.38747.patch
Type: text/x-patch
Size: 8031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151029/772aac4b/attachment.bin>
More information about the llvm-commits
mailing list