[AArch64][test] Add explicit dso_local to definitions in ELF static relocation model...
authorFangrui Song <i@maskray.me>
Wed, 30 Dec 2020 23:03:06 +0000 (15:03 -0800)
committerFangrui Song <i@maskray.me>
Wed, 30 Dec 2020 23:03:06 +0000 (15:03 -0800)
commit7b529d0411a4d3c8d2cb29e15648aec08c85be6a
tree0c68eac98e9bca9f4ebdc0e267ff971d8ee74d1e
parente0f70ee01c6b83ce1b49a8d38bb1fe62e9302854
[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
44 files changed:
llvm/test/CodeGen/AArch64/GlobalISel/legalize-blockaddress.mir
llvm/test/CodeGen/AArch64/GlobalISel/select-blockaddress.mir
llvm/test/CodeGen/AArch64/GlobalISel/select-gv-cmodel-large.mir
llvm/test/CodeGen/AArch64/GlobalISel/select-gv-cmodel-tiny.mir
llvm/test/CodeGen/AArch64/GlobalISel/select-static.mir
llvm/test/CodeGen/AArch64/GlobalISel/sext-inreg-ldrow-16b.mir
llvm/test/CodeGen/AArch64/aarch64-be-bv.ll
llvm/test/CodeGen/AArch64/addsub_ext.ll
llvm/test/CodeGen/AArch64/and-sink.ll
llvm/test/CodeGen/AArch64/arm64-aapcs.ll
llvm/test/CodeGen/AArch64/arm64-custom-call-saved-reg.ll
llvm/test/CodeGen/AArch64/arm64-fp128.ll
llvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll
llvm/test/CodeGen/AArch64/arm64-misched-multimmo.ll
llvm/test/CodeGen/AArch64/arm64-sitofp-combine-chains.ll
llvm/test/CodeGen/AArch64/arm64-variadic-aapcs.ll
llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
llvm/test/CodeGen/AArch64/atomic-ops.ll
llvm/test/CodeGen/AArch64/bitfield.ll
llvm/test/CodeGen/AArch64/bool-loads.ll
llvm/test/CodeGen/AArch64/breg.ll
llvm/test/CodeGen/AArch64/call-rv-marker.ll
llvm/test/CodeGen/AArch64/cmpxchg-O0.ll
llvm/test/CodeGen/AArch64/code-model-large-abs.ll
llvm/test/CodeGen/AArch64/code-model-tiny-abs.ll
llvm/test/CodeGen/AArch64/fcopysign.ll
llvm/test/CodeGen/AArch64/func-argpassing.ll
llvm/test/CodeGen/AArch64/func-calls.ll
llvm/test/CodeGen/AArch64/global-alignment.ll
llvm/test/CodeGen/AArch64/global-merge-2.ll
llvm/test/CodeGen/AArch64/global-merge-3.ll
llvm/test/CodeGen/AArch64/i1-contents.ll
llvm/test/CodeGen/AArch64/irg_sp_tagp.ll
llvm/test/CodeGen/AArch64/ldst-unscaledimm.ll
llvm/test/CodeGen/AArch64/ldst-unsignedimm.ll
llvm/test/CodeGen/AArch64/literal_pools_float.ll
llvm/test/CodeGen/AArch64/misched-fusion-addr.ll
llvm/test/CodeGen/AArch64/misched-fusion-lit.ll
llvm/test/CodeGen/AArch64/movw-shift-encoding.ll
llvm/test/CodeGen/AArch64/pie.ll
llvm/test/CodeGen/AArch64/sibling-call.ll
llvm/test/CodeGen/AArch64/tiny-model-pic.ll [moved from llvm/test/CodeGen/AArch64/tiny_model.ll with 91% similarity]
llvm/test/CodeGen/AArch64/tiny-model-static.ll [new file with mode: 0644]
llvm/test/CodeGen/AArch64/zero-reg.ll