[PATCH] D31963: ThinLTOBitcodeWriter: keep comdats together, rename if leader is renamed

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 18:14:17 PDT 2017


inglorion updated this revision to Diff 94921.
inglorion added a comment.

Implemented more of @pcc's suggestions:

- Use Comdat* instead of StringRef in MergedMComdats.
- Populate MergedMComdats in existing loop instead of creating a new one.
- Remove regexes when matching unpromoted names.


https://reviews.llvm.org/D31963

Files:
  lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  test/Transforms/ThinLTOBitcodeWriter/comdat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31963.94921.patch
Type: text/x-patch
Size: 6966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170412/6d75c3cf/attachment.bin>


More information about the llvm-commits mailing list