[all-commits] [llvm/llvm-project] ca23b7: [AsmPrinter] .addrsig_sym: remove isTransitiveUsed...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Dec 2 11:05:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca23b7ca476fb66771d1c6d02c6837938fde6c7e
      https://github.com/llvm/llvm-project/commit/ca23b7ca476fb66771d1c6d02c6837938fde6c7e
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M llvm/include/llvm/IR/Value.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/IR/Value.cpp
    M llvm/test/CodeGen/X86/addrsig.ll

  Log Message:
  -----------
  [AsmPrinter] .addrsig_sym: remove isTransitiveUsedByMetadataOnly

With D135642 ignoring unregistered symbols, isTransitiveUsedByMetadataOnly added
by D101512 is no longer needed (the operation is potentially slow). There is a
`.addrsig_sym` directive for an only-used-by-metadata symbol but it does not
emit an entry.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D138362




More information about the All-commits mailing list