[PATCH] D14181: Update the discriminator assignment algorithm.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 29 10:33:32 PDT 2015


danielcdh created this revision.
danielcdh added reviewers: dnovillo, davidxl.
danielcdh added a subscriber: llvm-commits.

* 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/D14181

Files:
  lib/Transforms/Utils/AddDiscriminators.cpp
  test/Transforms/AddDiscriminators/oneline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14181.38748.patch
Type: text/x-patch
Size: 8031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151029/b56ad4f0/attachment.bin>


More information about the llvm-commits mailing list