[all-commits] [llvm/llvm-project] 871de4: [X86][test] Add explicit dso_local to definitions ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 30 14:41:07 PST 2020


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

  Changed paths:
    M llvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll
    M llvm/test/CodeGen/X86/2010-08-04-MaskedSignedCompare.ll
    M llvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
    M llvm/test/CodeGen/X86/GlobalISel/GV.ll
    M llvm/test/CodeGen/X86/GlobalISel/select-GV-32.mir
    M llvm/test/CodeGen/X86/GlobalISel/select-GV-64.mir
    M llvm/test/CodeGen/X86/abi-isel.ll
    M llvm/test/CodeGen/X86/atomic-fp.ll
    M llvm/test/CodeGen/X86/avx-vzeroupper.ll
    M llvm/test/CodeGen/X86/avx2-gather.ll
    M llvm/test/CodeGen/X86/avx512-gather-scatter-intrin.ll
    M llvm/test/CodeGen/X86/avx512-regcall-Mask.ll
    M llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
    M llvm/test/CodeGen/X86/backpropmask.ll
    M llvm/test/CodeGen/X86/break-false-dep.ll
    M llvm/test/CodeGen/X86/bswap.ll
    M llvm/test/CodeGen/X86/callbr-asm-branch-folding.ll
    M llvm/test/CodeGen/X86/cast-vsel.ll
    M llvm/test/CodeGen/X86/cmov-double.ll
    M llvm/test/CodeGen/X86/cmovcmov.ll
    M llvm/test/CodeGen/X86/cmp.ll
    M llvm/test/CodeGen/X86/copy-eflags.ll
    M llvm/test/CodeGen/X86/critical-edge-split-2.ll
    M llvm/test/CodeGen/X86/dbg-changes-codegen.ll
    M llvm/test/CodeGen/X86/emutls-pie.ll
    M llvm/test/CodeGen/X86/emutls.ll
    M llvm/test/CodeGen/X86/fmf-flags.ll
    M llvm/test/CodeGen/X86/fp128-cast-strict.ll
    M llvm/test/CodeGen/X86/fp128-cast.ll
    M llvm/test/CodeGen/X86/fp128-g.ll
    M llvm/test/CodeGen/X86/fp128-i128.ll
    M llvm/test/CodeGen/X86/fp128-libcalls.ll
    M llvm/test/CodeGen/X86/fp128-load.ll
    M llvm/test/CodeGen/X86/fp128-store.ll
    M llvm/test/CodeGen/X86/ga-offset.ll
    M llvm/test/CodeGen/X86/global-access-pie.ll
    M llvm/test/CodeGen/X86/hoist-spill-lpad.ll
    M llvm/test/CodeGen/X86/immediate_merging.ll
    M llvm/test/CodeGen/X86/inline-asm-h.ll
    M llvm/test/CodeGen/X86/lea-recursion.ll
    M llvm/test/CodeGen/X86/linux-preemption.ll
    M llvm/test/CodeGen/X86/load-partial.ll
    M llvm/test/CodeGen/X86/lsr-sort.ll
    M llvm/test/CodeGen/X86/mempcpy.ll
    M llvm/test/CodeGen/X86/min-legal-vector-width.ll
    M llvm/test/CodeGen/X86/ms-inline-asm-PR44272.ll
    M llvm/test/CodeGen/X86/musttail-tailcc.ll
    M llvm/test/CodeGen/X86/narrow_op-1.ll
    M llvm/test/CodeGen/X86/peephole-fold-movsd.ll
    M llvm/test/CodeGen/X86/pie.ll
    M llvm/test/CodeGen/X86/pr22774.ll
    M llvm/test/CodeGen/X86/pr31956.ll
    M llvm/test/CodeGen/X86/pr32282.ll
    M llvm/test/CodeGen/X86/pr33290.ll
    M llvm/test/CodeGen/X86/pr34629.ll
    M llvm/test/CodeGen/X86/pr34634.ll
    M llvm/test/CodeGen/X86/pr35761.ll
    M llvm/test/CodeGen/X86/pr35763.ll
    M llvm/test/CodeGen/X86/pr35765.ll
    M llvm/test/CodeGen/X86/pr36312.ll
    M llvm/test/CodeGen/X86/pr37826.ll
    M llvm/test/CodeGen/X86/pr38217.ll
    M llvm/test/CodeGen/X86/pr38803.ll
    M llvm/test/CodeGen/X86/pr38865.ll
    M llvm/test/CodeGen/X86/pr43866.ll
    M llvm/test/CodeGen/X86/rd-mod-wr-eflags.ll
    M llvm/test/CodeGen/X86/sad.ll
    M llvm/test/CodeGen/X86/shift-combine.ll
    M llvm/test/CodeGen/X86/shrink-compare-pgso.ll
    M llvm/test/CodeGen/X86/shrink-compare.ll
    M llvm/test/CodeGen/X86/sibcall.ll
    M llvm/test/CodeGen/X86/speculative-execution-side-effect-suppression.ll
    M llvm/test/CodeGen/X86/speculative-load-hardening-indirect.ll
    M llvm/test/CodeGen/X86/splat-for-size.ll
    M llvm/test/CodeGen/X86/stores-merging.ll
    M llvm/test/CodeGen/X86/subvector-broadcast.ll
    M llvm/test/CodeGen/X86/swift-return.ll
    M llvm/test/CodeGen/X86/tail-opts.ll
    M llvm/test/CodeGen/X86/tailcall-disable.ll
    M llvm/test/CodeGen/X86/tailcall-tailcc.ll
    M llvm/test/CodeGen/X86/tailcall.ll
    M llvm/test/CodeGen/X86/test-shrink-bug.ll
    M llvm/test/CodeGen/X86/tls-pie.ll
    M llvm/test/CodeGen/X86/tls.ll
    M llvm/test/CodeGen/X86/trunc-and.ll
    M llvm/test/CodeGen/X86/undef-label.ll
    M llvm/test/CodeGen/X86/vec-loadsingles-alignment.ll
    M llvm/test/CodeGen/X86/widen_load-1.ll
    M llvm/test/CodeGen/X86/x86-64-intrcc.ll
    M llvm/test/CodeGen/X86/xor-select-i1-combine.ll
    M llvm/test/CodeGen/X86/xray-tail-call-sled.ll

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