[all-commits] [llvm/llvm-project] bf1160: [test] Add explicit dso_local to definitions in EL...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 30 16:58:06 PST 2020


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

  Changed paths:
    M llvm/test/CodeGen/ARM/fast-isel-intrinsic.ll
    M llvm/test/CodeGen/PowerPC/dsolocal-static.ll
    M llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll.generated.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll.nogenerated.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.generated.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.nogenerated.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.generated.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.nogenerated.expected

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


  Commit: 2047c10c22b071cccc57a7e2779d6603512e9113
      https://github.com/llvm/llvm-project/commit/2047c10c22b071cccc57a7e2779d6603512e9113
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-30 (Wed, 30 Dec 2020)

  Changed paths:
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/test/CodeGen/ARM/fast-isel-intrinsic.ll
    M llvm/test/CodeGen/PowerPC/dsolocal-static.ll
    M llvm/test/CodeGen/X86/linux-preemption.ll

  Log Message:
  -----------
  [TargetMachine] Drop implied dso_local for definitions in ELF static relocation model/PIE

TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions.

Since clang -fno-pic add the dso_local specifier, we don't need to special case.


Compare: https://github.com/llvm/llvm-project/compare/f73183958482...2047c10c22b0


More information about the All-commits mailing list