[all-commits] [llvm/llvm-project] 449f2f: [PowerPC] Duplicate inherited heuristic from base ...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Thu Jan 21 18:16:06 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 449f2f7140e1d70d9c08bb609cde6cdd144c6035
      https://github.com/llvm/llvm-project/commit/449f2f7140e1d70d9c08bb609cde6cdd144c6035
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMachineScheduler.cpp
    M llvm/test/CodeGen/PowerPC/botheightreduce.mir
    M llvm/test/CodeGen/PowerPC/loop-instr-form-prepare.ll
    M llvm/test/CodeGen/PowerPC/lsr-ctrloop.ll
    M llvm/test/CodeGen/PowerPC/mma-intrinsics.ll
    M llvm/test/CodeGen/PowerPC/mma-phi-accs.ll
    M llvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll
    M llvm/test/CodeGen/PowerPC/rematerializable-instruction-machine-licm.ll
    M llvm/test/CodeGen/PowerPC/sched-addi.ll
    M llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
    M llvm/test/CodeGen/PowerPC/sms-phi-1.ll
    M llvm/test/CodeGen/PowerPC/sms-simple.ll
    M llvm/test/CodeGen/PowerPC/stack-clash-dynamic-alloca.ll

  Log Message:
  -----------
  [PowerPC] Duplicate inherited heuristic from base scheduler

PowerPC has its custom scheduler heuristic. It calls parent classes'
tryCandidate in override version, but the function returns void, so this
way doesn't actually help. This patch duplicates code from base scheduler
into PPC machine scheduler class, which does what we wanted.

Reviewed By: steven.zhang

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




More information about the All-commits mailing list