[all-commits] [llvm/llvm-project] fdcf24: [PowerPC] Do not rely on MachineSink threshold to ...

Guy David via All-commits all-commits at lists.llvm.org
Tue Feb 25 14:37:49 PST 2025


  Branch: refs/heads/users/guy-david/machine-sink-powerpc
  Home:   https://github.com/llvm/llvm-project
  Commit: fdcf24623adaf5f4e391e2b55ad6bbc65d337c4f
      https://github.com/llvm/llvm-project/commit/fdcf24623adaf5f4e391e2b55ad6bbc65d337c4f
  Author: Guy David <guyda96 at gmail.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.h
    A llvm/test/CodeGen/PowerPC/sink-crset-crunset.mir
    M llvm/test/CodeGen/PowerPC/spill_p9_setb.ll

  Log Message:
  -----------
  [PowerPC] Do not rely on MachineSink threshold to optimize CR spilling

spill_p0_setb.ll and knowCRBitSpill.ll rely on a probability threshold
in MachineSink to pull down CRSET/CRUNSET. It's worth to do so anyway
and let register allocation decide otherwise.
Additionally, make the interface accept a const MI.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list