[all-commits] [llvm/llvm-project] a64b89: [ARM][test] Add explicit dso_local to definitions ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 30 15:27:48 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a64b89e69e3e3d9884e135082a80b6010e127219
      https://github.com/llvm/llvm-project/commit/a64b89e69e3e3d9884e135082a80b6010e127219
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-30 (Wed, 30 Dec 2020)

  Changed paths:
    M llvm/test/CodeGen/ARM/aeabi-read-tp.ll
    M llvm/test/CodeGen/ARM/cortex-a57-misched-ldm-wrback.ll
    M llvm/test/CodeGen/ARM/cortex-a57-misched-vldm-wrback.ll
    M llvm/test/CodeGen/ARM/cortex-a57-misched-vstm-wrback.ll
    M llvm/test/CodeGen/ARM/fast-isel-pie.ll
    M llvm/test/CodeGen/ARM/global-merge-alignment.ll
    M llvm/test/CodeGen/ARM/global-merge-external-2.ll
    M llvm/test/CodeGen/ARM/global-merge-external.ll
    M llvm/test/CodeGen/ARM/ldm-base-writeback.ll
    M llvm/test/CodeGen/ARM/pie.ll
    M llvm/test/CodeGen/ARM/tls1.ll

  Log Message:
  -----------
  [ARM][test] Add explicit dso_local to definitions in ELF static relocation model tests

TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions.

Adding explicit dso_local makes these tests align with the clang -fno-pic behavior
and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case.




More information about the All-commits mailing list