[all-commits] [llvm/llvm-project] 7b529d: [AArch64][test] Add explicit dso_local to definiti...

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


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

  Changed paths:
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-blockaddress.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-blockaddress.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-gv-cmodel-large.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-gv-cmodel-tiny.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-static.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/sext-inreg-ldrow-16b.mir
    M llvm/test/CodeGen/AArch64/aarch64-be-bv.ll
    M llvm/test/CodeGen/AArch64/addsub_ext.ll
    M llvm/test/CodeGen/AArch64/and-sink.ll
    M llvm/test/CodeGen/AArch64/arm64-aapcs.ll
    M llvm/test/CodeGen/AArch64/arm64-custom-call-saved-reg.ll
    M llvm/test/CodeGen/AArch64/arm64-fp128.ll
    M llvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll
    M llvm/test/CodeGen/AArch64/arm64-misched-multimmo.ll
    M llvm/test/CodeGen/AArch64/arm64-sitofp-combine-chains.ll
    M llvm/test/CodeGen/AArch64/arm64-variadic-aapcs.ll
    M llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
    M llvm/test/CodeGen/AArch64/atomic-ops.ll
    M llvm/test/CodeGen/AArch64/bitfield.ll
    M llvm/test/CodeGen/AArch64/bool-loads.ll
    M llvm/test/CodeGen/AArch64/breg.ll
    M llvm/test/CodeGen/AArch64/call-rv-marker.ll
    M llvm/test/CodeGen/AArch64/cmpxchg-O0.ll
    M llvm/test/CodeGen/AArch64/code-model-large-abs.ll
    M llvm/test/CodeGen/AArch64/code-model-tiny-abs.ll
    M llvm/test/CodeGen/AArch64/fcopysign.ll
    M llvm/test/CodeGen/AArch64/func-argpassing.ll
    M llvm/test/CodeGen/AArch64/func-calls.ll
    M llvm/test/CodeGen/AArch64/global-alignment.ll
    M llvm/test/CodeGen/AArch64/global-merge-2.ll
    M llvm/test/CodeGen/AArch64/global-merge-3.ll
    M llvm/test/CodeGen/AArch64/i1-contents.ll
    M llvm/test/CodeGen/AArch64/irg_sp_tagp.ll
    M llvm/test/CodeGen/AArch64/ldst-unscaledimm.ll
    M llvm/test/CodeGen/AArch64/ldst-unsignedimm.ll
    M llvm/test/CodeGen/AArch64/literal_pools_float.ll
    M llvm/test/CodeGen/AArch64/misched-fusion-addr.ll
    M llvm/test/CodeGen/AArch64/misched-fusion-lit.ll
    M llvm/test/CodeGen/AArch64/movw-shift-encoding.ll
    M llvm/test/CodeGen/AArch64/pie.ll
    M llvm/test/CodeGen/AArch64/sibling-call.ll
    A llvm/test/CodeGen/AArch64/tiny-model-pic.ll
    A llvm/test/CodeGen/AArch64/tiny-model-static.ll
    R llvm/test/CodeGen/AArch64/tiny_model.ll
    M llvm/test/CodeGen/AArch64/zero-reg.ll

  Log Message:
  -----------
  [AArch64][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.

Split tiny_model.ll to tiny-model-{static,pic}.ll




More information about the All-commits mailing list