[PATCH] D113613: [ThinLTO][MC] Use conditional assignments for promotion aliases

Sami Tolvanen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 3 18:35:49 PST 2021


samitolvanen updated this revision to Diff 391801.
samitolvanen added a comment.

Changed the key of the `pendingAssignments` map to `const MCSymbol *` and switched from `StringMap/Set` to `DenseMap/Set` based on feedback from pcc.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113613/new/

https://reviews.llvm.org/D113613

Files:
  llvm/include/llvm/MC/MCStreamer.h
  llvm/lib/MC/MCParser/AsmParser.cpp
  llvm/lib/MC/MCStreamer.cpp
  llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  llvm/test/MC/ELF/lto-set-conditional.s
  llvm/test/MC/MachO/lto-set-conditional.s
  llvm/test/ThinLTO/X86/devirt2.ll
  llvm/test/Transforms/ThinLTOBitcodeWriter/cfi-icall-static-inline-asm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113613.391801.patch
Type: text/x-patch
Size: 11325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211204/7126a623/attachment.bin>


More information about the llvm-commits mailing list