[all-commits] [llvm/llvm-project] 0d253b: [PowerPC] Change CRNOT to a code gen single operan...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Thu Oct 13 18:10:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d253bbd330020c005fff824771c4336622d0bfe
      https://github.com/llvm/llvm-project/commit/0d253bbd330020c005fff824771c4336622d0bfe
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/P10InstrResources.td
    M llvm/lib/Target/PowerPC/P9InstrResources.td
    M llvm/lib/Target/PowerPC/PPCBack2BackFusion.def
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/lib/Target/PowerPC/PPCInstrFormats.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
    M llvm/test/CodeGen/PowerPC/fp-strict-fcmp-noopt.ll
    M llvm/test/CodeGen/PowerPC/fp-strict-fcmp-spe.ll
    M llvm/test/CodeGen/PowerPC/fp-strict-fcmp.ll

  Log Message:
  -----------
  [PowerPC] Change CRNOT to a code gen single operand instruction

Inputs to crnor can come from operands with chains so
if it is being used simply to negate such an operand,
the repeated input cannot be CSE'd. This patch just
adds a code-gen only instruction for this that takes
a single input and duplicates it in the encoding of
the underlying crnor.

Differential revision: https://reviews.llvm.org/D133577




More information about the All-commits mailing list