[all-commits] [llvm/llvm-project] b936ef: [RISCV] Reorder include of RISCVInstrInfoZi* befor...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Mar 14 09:23:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b936ef18559aac8d982229040158c65843d43eb2
      https://github.com/llvm/llvm-project/commit/b936ef18559aac8d982229040158c65843d43eb2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoV.td

  Log Message:
  -----------
  [RISCV] Reorder include of RISCVInstrInfoZi* before C and Zc*. NFC (#131274)

Zclsd needs to reference Zilsd in CompressPats so put Zi before Zc.

The one issue I encountered is that RISCVInstrFormatsC.td needs to be
included before RISCVInstrInfoZicfiss. To fix this I moved the include
of RISCVInstrFormatsC.td from RISCVInstrInfoC.td to RISCVInstrInfo.td
where we include RISCVInstrFormats.td. I moved RISCVInstrFormatsV.td for
consistency.



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