[all-commits] [llvm/llvm-project] b922a3: [PowerPC] Define SchedModel for Power8

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Fri Sep 8 00:45:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b922a3621116b404d868af8b74cab25ab78555be
      https://github.com/llvm/llvm-project/commit/b922a3621116b404d868af8b74cab25ab78555be
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCScheduleP8.td
    M llvm/test/CodeGen/PowerPC/2006-07-07-ComputeMaskedBits.ll
    M llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll
    M llvm/test/CodeGen/PowerPC/CSR-fit.ll
    M llvm/test/CodeGen/PowerPC/CompareEliminationSpillIssue.ll
    M llvm/test/CodeGen/PowerPC/P10-stack-alignment.ll
    M llvm/test/CodeGen/PowerPC/PR35812-neg-cmpxchg.ll
    M llvm/test/CodeGen/PowerPC/VSX-XForm-Scalars.ll
    M llvm/test/CodeGen/PowerPC/aix-dfltabi-rsrvd-reg.ll
    M llvm/test/CodeGen/PowerPC/aix-vsx-splatimm.ll
    M llvm/test/CodeGen/PowerPC/aix32-p8-scalar_vector_conversions.ll
    M llvm/test/CodeGen/PowerPC/aix_scalar_vector_permuted.ll
    M llvm/test/CodeGen/PowerPC/all-atomics.ll
    M llvm/test/CodeGen/PowerPC/and-extend-combine.ll
    M llvm/test/CodeGen/PowerPC/asm-template-I.ll
    M llvm/test/CodeGen/PowerPC/atomics-i128-ldst.ll
    M llvm/test/CodeGen/PowerPC/atomics-i128.ll
    M llvm/test/CodeGen/PowerPC/atomics-i16-ldst.ll
    M llvm/test/CodeGen/PowerPC/atomics-i32-ldst.ll
    M llvm/test/CodeGen/PowerPC/atomics-i64-ldst.ll
    M llvm/test/CodeGen/PowerPC/atomics-i8-ldst.ll
    M llvm/test/CodeGen/PowerPC/atomics-regression.ll
    M llvm/test/CodeGen/PowerPC/bool-math.ll
    M llvm/test/CodeGen/PowerPC/branch_coalesce.ll
    M llvm/test/CodeGen/PowerPC/build-vector-tests.ll
    M llvm/test/CodeGen/PowerPC/builtins-ppc-p8vector.ll
    M llvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll
    M llvm/test/CodeGen/PowerPC/cfence-float.ll
    M llvm/test/CodeGen/PowerPC/coldcc2.ll
    M llvm/test/CodeGen/PowerPC/combine-fneg.ll
    M llvm/test/CodeGen/PowerPC/combine-sext-and-shl-after-isel.ll
    M llvm/test/CodeGen/PowerPC/combine_ext_trunc.ll
    M llvm/test/CodeGen/PowerPC/const-nonsplat-array-init.ll
    M llvm/test/CodeGen/PowerPC/const-splat-array-init.ll
    M llvm/test/CodeGen/PowerPC/constant-combines.ll
    M llvm/test/CodeGen/PowerPC/crypto_bifs_be.ll
    M llvm/test/CodeGen/PowerPC/csr-split.ll
    M llvm/test/CodeGen/PowerPC/ctrloop-constrained-fp.ll
    M llvm/test/CodeGen/PowerPC/ctrloop-fp128.ll
    M llvm/test/CodeGen/PowerPC/cxx_tlscc64.ll
    M llvm/test/CodeGen/PowerPC/disable-ctr-ppcf128.ll
    M llvm/test/CodeGen/PowerPC/elf64-byval-cc.ll
    M llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll
    M llvm/test/CodeGen/PowerPC/extract-and-store.ll
    M llvm/test/CodeGen/PowerPC/f128-aggregates.ll
    M llvm/test/CodeGen/PowerPC/f128-arith.ll
    M llvm/test/CodeGen/PowerPC/f128-bitcast.ll
    M llvm/test/CodeGen/PowerPC/f128-compare.ll
    M llvm/test/CodeGen/PowerPC/f128-conv.ll
    M llvm/test/CodeGen/PowerPC/f128-fma.ll
    M llvm/test/CodeGen/PowerPC/f128-passByValue.ll
    M llvm/test/CodeGen/PowerPC/f128-truncateNconv.ll
    M llvm/test/CodeGen/PowerPC/fma-aggr-FMF.ll
    M llvm/test/CodeGen/PowerPC/fma-combine.ll
    M llvm/test/CodeGen/PowerPC/fmf-propagation.ll
    M llvm/test/CodeGen/PowerPC/fold-rlwinm-1.ll
    M llvm/test/CodeGen/PowerPC/fp-classify.ll
    M llvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
    M llvm/test/CodeGen/PowerPC/fp-strict-conv.ll
    M llvm/test/CodeGen/PowerPC/fp-strict-fcmp.ll
    M llvm/test/CodeGen/PowerPC/fp-strict-round.ll
    M llvm/test/CodeGen/PowerPC/fp-strict.ll
    M llvm/test/CodeGen/PowerPC/fp128-bitcast-after-operation.ll
    M llvm/test/CodeGen/PowerPC/fpscr-intrinsics.ll
    M llvm/test/CodeGen/PowerPC/frounds.ll
    M llvm/test/CodeGen/PowerPC/funnel-shift-rot.ll
    M llvm/test/CodeGen/PowerPC/funnel-shift.ll
    M llvm/test/CodeGen/PowerPC/handle-f16-storage-type.ll
    M llvm/test/CodeGen/PowerPC/huge-frame-call.ll
    M llvm/test/CodeGen/PowerPC/huge-frame-size.ll
    M llvm/test/CodeGen/PowerPC/int128_ldst.ll
    M llvm/test/CodeGen/PowerPC/legalize-vaarg.ll
    M llvm/test/CodeGen/PowerPC/licm-remat.ll
    M llvm/test/CodeGen/PowerPC/licm-tocReg.ll
    M llvm/test/CodeGen/PowerPC/load-and-splat.ll
    M llvm/test/CodeGen/PowerPC/load-shuffle-and-shuffle-store.ll
    M llvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
    M llvm/test/CodeGen/PowerPC/memcmp.ll
    M llvm/test/CodeGen/PowerPC/memset-tail.ll
    M llvm/test/CodeGen/PowerPC/mergeable-string-pool-large.ll
    M llvm/test/CodeGen/PowerPC/mergeable-string-pool.ll
    M llvm/test/CodeGen/PowerPC/mma-acc-memops.ll
    M llvm/test/CodeGen/PowerPC/mulld.ll
    M llvm/test/CodeGen/PowerPC/no-ctr-loop-if-exit-in-nested-loop.ll
    M llvm/test/CodeGen/PowerPC/non-debug-mi-search-frspxsrsp.ll
    M llvm/test/CodeGen/PowerPC/p8-isel-sched.ll
    M llvm/test/CodeGen/PowerPC/p8-scalar_vector_conversions.ll
    M llvm/test/CodeGen/PowerPC/peephole-align.ll
    M llvm/test/CodeGen/PowerPC/pow-025-075-intrinsic-scalar-mass-fast.ll
    M llvm/test/CodeGen/PowerPC/ppc-32bit-build-vector.ll
    M llvm/test/CodeGen/PowerPC/ppc-clear-before-return.ll
    M llvm/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll
    M llvm/test/CodeGen/PowerPC/ppc-rotate-clear.ll
    M llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
    M llvm/test/CodeGen/PowerPC/ppc64-P9-setb.ll
    M llvm/test/CodeGen/PowerPC/ppc64-P9-vabsd.ll
    M llvm/test/CodeGen/PowerPC/ppc64-byval-larger-struct.ll
    M llvm/test/CodeGen/PowerPC/ppc64-byval-multi-store.ll
    M llvm/test/CodeGen/PowerPC/ppc64-rop-protection-aix.ll
    M llvm/test/CodeGen/PowerPC/ppc64-rop-protection.ll
    M llvm/test/CodeGen/PowerPC/ppc64-varargs.ll
    M llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
    M llvm/test/CodeGen/PowerPC/pr25080.ll
    M llvm/test/CodeGen/PowerPC/pr27078.ll
    M llvm/test/CodeGen/PowerPC/pr33093.ll
    M llvm/test/CodeGen/PowerPC/pr33547.ll
    M llvm/test/CodeGen/PowerPC/pr35402.ll
    M llvm/test/CodeGen/PowerPC/pr36292.ll
    M llvm/test/CodeGen/PowerPC/pr45628.ll
    M llvm/test/CodeGen/PowerPC/pr46759.ll
    M llvm/test/CodeGen/PowerPC/pr47707.ll
    M llvm/test/CodeGen/PowerPC/pr47830.ll
    M llvm/test/CodeGen/PowerPC/pr47891.ll
    M llvm/test/CodeGen/PowerPC/pr48388.ll
    M llvm/test/CodeGen/PowerPC/pr48519.ll
    M llvm/test/CodeGen/PowerPC/pr48527.ll
    M llvm/test/CodeGen/PowerPC/pr52894-32bit.ll
    M llvm/test/CodeGen/PowerPC/pr52894.ll
    M llvm/test/CodeGen/PowerPC/pr61882.ll
    M llvm/test/CodeGen/PowerPC/recipest.ll
    M llvm/test/CodeGen/PowerPC/reduce_scalarization.ll
    M llvm/test/CodeGen/PowerPC/register-pressure-reduction.ll
    M llvm/test/CodeGen/PowerPC/repeated-fp-divisors.ll
    M llvm/test/CodeGen/PowerPC/saddo-ssubo.ll
    M llvm/test/CodeGen/PowerPC/sat-add.ll
    M llvm/test/CodeGen/PowerPC/scalar-double-ldst.ll
    M llvm/test/CodeGen/PowerPC/scalar-equal.ll
    M llvm/test/CodeGen/PowerPC/scalar-float-ldst.ll
    M llvm/test/CodeGen/PowerPC/scalar-i16-ldst.ll
    M llvm/test/CodeGen/PowerPC/scalar-i32-ldst.ll
    M llvm/test/CodeGen/PowerPC/scalar-i64-ldst.ll
    M llvm/test/CodeGen/PowerPC/scalar-i8-ldst.ll
    M llvm/test/CodeGen/PowerPC/scalar_cmp.ll
    M llvm/test/CodeGen/PowerPC/scalar_vector_test_4.ll
    M llvm/test/CodeGen/PowerPC/scalars-in-altivec-regs.ll
    M llvm/test/CodeGen/PowerPC/scheduling-mem-dependency.ll
    M llvm/test/CodeGen/PowerPC/select-constant-xor.ll
    M llvm/test/CodeGen/PowerPC/select.ll
    M llvm/test/CodeGen/PowerPC/select_const.ll
    M llvm/test/CodeGen/PowerPC/setcc-logic.ll
    M llvm/test/CodeGen/PowerPC/setcc-vector.ll
    M llvm/test/CodeGen/PowerPC/sext-vector-inreg.ll
    M llvm/test/CodeGen/PowerPC/sign-ext-atomics.ll
    M llvm/test/CodeGen/PowerPC/signbit-shift.ll
    M llvm/test/CodeGen/PowerPC/sms-remark.ll
    M llvm/test/CodeGen/PowerPC/srem-seteq-illegal-types.ll
    M llvm/test/CodeGen/PowerPC/srem-vector-lkk.ll
    M llvm/test/CodeGen/PowerPC/stack-clash-dynamic-alloca.ll
    M llvm/test/CodeGen/PowerPC/stack-clash-prologue.ll
    M llvm/test/CodeGen/PowerPC/stack-restore-with-setjmp.ll
    M llvm/test/CodeGen/PowerPC/store-constant.ll
    M llvm/test/CodeGen/PowerPC/stwu-sched.ll
    M llvm/test/CodeGen/PowerPC/swap-reduction.ll
    M llvm/test/CodeGen/PowerPC/swaps-le-5.ll
    M llvm/test/CodeGen/PowerPC/swaps-le-6.ll
    M llvm/test/CodeGen/PowerPC/swaps-le-7.ll
    M llvm/test/CodeGen/PowerPC/test-vector-insert.ll
    M llvm/test/CodeGen/PowerPC/testBitReverse.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/testComparesigtsc.ll
    M llvm/test/CodeGen/PowerPC/testComparesigtsi.ll
    M llvm/test/CodeGen/PowerPC/testComparesigtsll.ll
    M llvm/test/CodeGen/PowerPC/testComparesigtss.ll
    M llvm/test/CodeGen/PowerPC/testComparesigtuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesigtui.ll
    M llvm/test/CodeGen/PowerPC/testComparesigtus.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/testComparesllgtsll.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgtuc.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgtui.ll
    M llvm/test/CodeGen/PowerPC/testComparesllgtus.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/testComparesllltui.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-pie-xform.ll
    M llvm/test/CodeGen/PowerPC/toc-float.ll
    M llvm/test/CodeGen/PowerPC/tocSaveInPrologue.ll
    M llvm/test/CodeGen/PowerPC/uint-to-fp-v4i32.ll
    M llvm/test/CodeGen/PowerPC/urem-seteq-illegal-types.ll
    M llvm/test/CodeGen/PowerPC/urem-vector-lkk.ll
    M llvm/test/CodeGen/PowerPC/v16i8_scalar_to_vector_shuffle.ll
    M llvm/test/CodeGen/PowerPC/v2i64_scalar_to_vector_shuffle.ll
    M llvm/test/CodeGen/PowerPC/v4i32_scalar_to_vector_shuffle.ll
    M llvm/test/CodeGen/PowerPC/v8i16_scalar_to_vector_shuffle.ll
    M llvm/test/CodeGen/PowerPC/variable_elem_vec_extracts.ll
    M llvm/test/CodeGen/PowerPC/vavg.ll
    M llvm/test/CodeGen/PowerPC/vec-itofp.ll
    M llvm/test/CodeGen/PowerPC/vec-min-max.ll
    M llvm/test/CodeGen/PowerPC/vec-promote.ll
    M llvm/test/CodeGen/PowerPC/vec-trunc.ll
    M llvm/test/CodeGen/PowerPC/vec-trunc2.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i16_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i64_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i8_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp64_to_i16_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp64_to_i32_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp64_to_i8_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp_to_i_4byte_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_fp_to_i_8byte_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_i16_to_fp32_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_i16_to_fp64_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_i32_to_fp64_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_i64_to_fp32_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_i8_to_fp32_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_i8_to_fp64_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_i_to_fp_4byte_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_conv_i_to_fp_8byte_elts.ll
    M llvm/test/CodeGen/PowerPC/vec_insert_elt.ll
    M llvm/test/CodeGen/PowerPC/vec_select.ll
    M llvm/test/CodeGen/PowerPC/vec_shuffle_p8vector_le.ll
    M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
    M llvm/test/CodeGen/PowerPC/vector-ldst.ll
    M llvm/test/CodeGen/PowerPC/vperm-swap.ll
    M llvm/test/CodeGen/PowerPC/vselect-constants.ll
    M llvm/test/CodeGen/PowerPC/vsx.ll
    M llvm/test/CodeGen/PowerPC/wide-scalar-shift-by-byte-multiple-legalization.ll
    M llvm/test/CodeGen/PowerPC/wide-scalar-shift-legalization.ll

  Log Message:
  -----------
  [PowerPC] Define SchedModel for Power8

PowerPC subtargets prior to Power9 use the 'legacy' itinerary way to
provide scheduling information. This patch re-writes the tablegen file
to define the scheduling information in the new SchedModel way, which
can bring improvements to some benchmarks.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D154488




More information about the All-commits mailing list