[PATCH] D31900: [AddDiscriminators] Assign discriminators to memset/memcpy/memmove intrinsic calls.

Andrea Di Biagio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 11:24:31 PDT 2017


andreadb updated this revision to Diff 94862.
andreadb added a comment.

Rebase and address code review comments.

Removed the 2nd call to shouldHaveDiscriminator(), and added code comments as suggested by Dehao.

Improved test memcpy-discriminator.ll. Now we also check that the same discriminator is used by all instructions within basic block %cond.true.

Please let me know if okay to commit.

Thanks,
Andrea


https://reviews.llvm.org/D31900

Files:
  lib/Transforms/Utils/AddDiscriminators.cpp
  test/Transforms/AddDiscriminators/memcpy-discriminator.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31900.94862.patch
Type: text/x-patch
Size: 6020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/48400280/attachment.bin>


More information about the llvm-commits mailing list