[all-commits] [llvm/llvm-project] 45d8a7: Simplify append to module inline asm string in IRL...

Hans via All-commits all-commits at lists.llvm.org
Wed Dec 2 06:01:32 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45d8a7843253ec68367c26114a2aa6bff2a7a4bb
      https://github.com/llvm/llvm-project/commit/45d8a7843253ec68367c26114a2aa6bff2a7a4bb
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    M llvm/test/Linker/link-arm-and-thumb-module-inline-asm.ll

  Log Message:
  -----------
  Simplify append to module inline asm string in IRLinker::run()

This also removes the empty extra "module asm" that would be created,
and updates the test to reflect that while making it more explicit.

Broken out from https://reviews.llvm.org/D92335


  Commit: 437c4653855fbbe47a860ae95eb445fd004aa4de
      https://github.com/llvm/llvm-project/commit/437c4653855fbbe47a860ae95eb445fd004aa4de
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M llvm/lib/Linker/CMakeLists.txt
    M llvm/lib/Linker/IRMover.cpp
    A llvm/test/ThinLTO/X86/Inputs/import-symver-foo.ll
    A llvm/test/ThinLTO/X86/import-symver.ll
    M llvm/utils/gn/secondary/llvm/lib/Linker/BUILD.gn

  Log Message:
  -----------
  [ThinLTO] Import symver directives for imported symbols (PR48214)

When importing symbols from another module, also import any
corresponding symver directives.

Differential revision: https://reviews.llvm.org/D92335


Compare: https://github.com/llvm/llvm-project/compare/dd0159bd8141...437c4653855f


More information about the All-commits mailing list