[all-commits] [llvm/llvm-project] 88cadb: [PowerPC][test] Add explicit dso_local to definiti...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 30 10:32:52 PST 2020


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

  Changed paths:
    M llvm/test/CodeGen/PowerPC/alias.ll
    M llvm/test/CodeGen/PowerPC/atomics-constant.ll
    A llvm/test/CodeGen/PowerPC/dsolocal-pic.ll
    A llvm/test/CodeGen/PowerPC/dsolocal-static.ll
    M llvm/test/CodeGen/PowerPC/elf-common.ll
    M llvm/test/CodeGen/PowerPC/f128-arith.ll
    M llvm/test/CodeGen/PowerPC/f128-compare.ll
    M llvm/test/CodeGen/PowerPC/fast-isel-load-store.ll
    M llvm/test/CodeGen/PowerPC/float-load-store-pair.ll
    M llvm/test/CodeGen/PowerPC/fma-combine.ll
    M llvm/test/CodeGen/PowerPC/func-addr.ll
    M llvm/test/CodeGen/PowerPC/macro-fusion.ll
    M llvm/test/CodeGen/PowerPC/mcm-11.ll
    M llvm/test/CodeGen/PowerPC/mcm-3.ll
    M llvm/test/CodeGen/PowerPC/mcm-obj-2.ll
    M llvm/test/CodeGen/PowerPC/mcm-obj.ll
    M llvm/test/CodeGen/PowerPC/mma-acc-memops.ll
    M llvm/test/CodeGen/PowerPC/p10-setbc-ri.ll
    M llvm/test/CodeGen/PowerPC/p10-setbc-rr.ll
    M llvm/test/CodeGen/PowerPC/p10-setbcr-ri.ll
    M llvm/test/CodeGen/PowerPC/p10-setbcr-rr.ll
    M llvm/test/CodeGen/PowerPC/p10-setnbc-ri.ll
    M llvm/test/CodeGen/PowerPC/p10-setnbc-rr.ll
    M llvm/test/CodeGen/PowerPC/p10-setnbcr-ri.ll
    M llvm/test/CodeGen/PowerPC/p10-setnbcr-rr.ll
    M llvm/test/CodeGen/PowerPC/pcrel-tls-local-exec.ll
    M llvm/test/CodeGen/PowerPC/peephole-align.ll
    M llvm/test/CodeGen/PowerPC/pie.ll
    M llvm/test/CodeGen/PowerPC/ppc64-calls.ll
    M llvm/test/CodeGen/PowerPC/ppc64-nonfunc-calls.ll
    M llvm/test/CodeGen/PowerPC/ppc64-sibcall-shrinkwrap.ll
    M llvm/test/CodeGen/PowerPC/ppc64-sibcall.ll
    M llvm/test/CodeGen/PowerPC/pr32140.ll
    R llvm/test/CodeGen/PowerPC/preemption.ll
    M llvm/test/CodeGen/PowerPC/sched-addi.ll
    M llvm/test/CodeGen/PowerPC/tailcall-speculatable-callee.ll
    M llvm/test/CodeGen/PowerPC/tailcall-string-rvo.ll
    M llvm/test/CodeGen/PowerPC/tailcall1-64.ll
    M llvm/test/CodeGen/PowerPC/testComparesi32gtu.ll
    M llvm/test/CodeGen/PowerPC/testComparesi32ltu.ll
    M llvm/test/CodeGen/PowerPC/testComparesieqsc.ll
    M llvm/test/CodeGen/PowerPC/testComparesieqsi.ll
    M llvm/test/CodeGen/PowerPC/testComparesieqsll.ll
    M llvm/test/CodeGen/PowerPC/testComparesieqss.ll
    M llvm/test/CodeGen/PowerPC/testComparesiequc.ll
    M llvm/test/CodeGen/PowerPC/testComparesiequi.ll
    M llvm/test/CodeGen/PowerPC/testComparesiequll.ll
    M llvm/test/CodeGen/PowerPC/testComparesiequs.ll
    M llvm/test/CodeGen/PowerPC/testComparesigesc.ll
    M llvm/test/CodeGen/PowerPC/testComparesigesi.ll
    M llvm/test/CodeGen/PowerPC/testComparesigesll.ll
    M llvm/test/CodeGen/PowerPC/testComparesigess.ll
    M llvm/test/CodeGen/PowerPC/testComparesigeuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesigeui.ll
    M llvm/test/CodeGen/PowerPC/testComparesigeull.ll
    M llvm/test/CodeGen/PowerPC/testComparesigeus.ll
    M llvm/test/CodeGen/PowerPC/testComparesilesc.ll
    M llvm/test/CodeGen/PowerPC/testComparesilesi.ll
    M llvm/test/CodeGen/PowerPC/testComparesilesll.ll
    M llvm/test/CodeGen/PowerPC/testComparesiless.ll
    M llvm/test/CodeGen/PowerPC/testComparesileuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesileui.ll
    M llvm/test/CodeGen/PowerPC/testComparesileull.ll
    M llvm/test/CodeGen/PowerPC/testComparesileus.ll
    M llvm/test/CodeGen/PowerPC/testComparesiltsc.ll
    M llvm/test/CodeGen/PowerPC/testComparesiltsi.ll
    M llvm/test/CodeGen/PowerPC/testComparesiltsll.ll
    M llvm/test/CodeGen/PowerPC/testComparesiltss.ll
    M llvm/test/CodeGen/PowerPC/testComparesiltuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesiltui.ll
    M llvm/test/CodeGen/PowerPC/testComparesiltus.ll
    M llvm/test/CodeGen/PowerPC/testComparesinesc.ll
    M llvm/test/CodeGen/PowerPC/testComparesinesi.ll
    M llvm/test/CodeGen/PowerPC/testComparesinesll.ll
    M llvm/test/CodeGen/PowerPC/testComparesiness.ll
    M llvm/test/CodeGen/PowerPC/testComparesineuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesineui.ll
    M llvm/test/CodeGen/PowerPC/testComparesineull.ll
    M llvm/test/CodeGen/PowerPC/testComparesineus.ll
    M llvm/test/CodeGen/PowerPC/testCompareslleqsc.ll
    M llvm/test/CodeGen/PowerPC/testCompareslleqsi.ll
    M llvm/test/CodeGen/PowerPC/testCompareslleqsll.ll
    M llvm/test/CodeGen/PowerPC/testCompareslleqss.ll
    M llvm/test/CodeGen/PowerPC/testComparesllequc.ll
    M llvm/test/CodeGen/PowerPC/testComparesllequi.ll
    M llvm/test/CodeGen/PowerPC/testComparesllequll.ll
    M llvm/test/CodeGen/PowerPC/testComparesllequs.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgesc.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgesi.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgesll.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgess.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgeuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgeui.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgeull.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgeus.ll
    M llvm/test/CodeGen/PowerPC/testCompareslllesc.ll
    M llvm/test/CodeGen/PowerPC/testCompareslllesi.ll
    M llvm/test/CodeGen/PowerPC/testCompareslllesll.ll
    M llvm/test/CodeGen/PowerPC/testComparesllless.ll
    M llvm/test/CodeGen/PowerPC/testComparesllleuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesllleui.ll
    M llvm/test/CodeGen/PowerPC/testComparesllleull.ll
    M llvm/test/CodeGen/PowerPC/testComparesllleus.ll
    M llvm/test/CodeGen/PowerPC/testComparesllltsll.ll
    M llvm/test/CodeGen/PowerPC/testComparesllltuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesllltus.ll
    M llvm/test/CodeGen/PowerPC/testComparesllnesll.ll
    M llvm/test/CodeGen/PowerPC/testComparesllneull.ll
    M llvm/test/CodeGen/PowerPC/tls.ll

  Log Message:
  -----------
  [PowerPC][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 -fpic behavior
and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case.

Rewrite preemption.ll to dsolocal-static.ll and dsolocal-pic.ll, and add
"PIC Level" metadata.




More information about the All-commits mailing list