danielcdh added a comment. I'm not sure if I understand why you want to add a discriminator here. Basically we should only add a discriminator in the AddDiscriminators.cpp, or when there is code duplication that we want to record. Dehao https://reviews.llvm.org/D26256