[all-commits] [llvm/llvm-project] b9208a: [Sparc] Remove duplicate ALU and SETHI instruction...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Tue Oct 10 10:34:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9208aca9b295226d657b822c5a09e9f5c1004d9
      https://github.com/llvm/llvm-project/commit/b9208aca9b295226d657b822c5a09e9f5c1004d9
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

  Changed paths:
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
    M llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
    M llvm/lib/Target/Sparc/SparcInstr64Bit.td
    M llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
    M llvm/test/CodeGen/SPARC/fp128-split.ll

  Log Message:
  -----------
  [Sparc] Remove duplicate ALU and SETHI instructions (NFCI) (#66851)

There are no 64-bit variants of these ALU / SETHI instructions in V9.
Remove these instruction definitions and add patterns to match DAG nodes
to the generic instructions defined in SparcInstrInfo.td.

This is not strictly NFC because of the changes in
`2011-01-11-FrameAddr.ll` test. The reason is that Sparc delay slot
filler pass handled ADDrr but not ADDXrr, which are now the same
instruction.




More information about the All-commits mailing list