[all-commits] [llvm/llvm-project] 8dacf5: [RISCV] Order the RISCVInstrInfo*.td includes for ...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jul 20 08:14:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dacf55af4fe320befb325ad93dd76c4c50c03e9
      https://github.com/llvm/llvm-project/commit/8dacf55af4fe320befb325ad93dd76c4c50c03e9
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

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

  Log Message:
  -----------
  [RISCV] Order the RISCVInstrInfo*.td includes for standard extensions into logical groups. NFC

There are some ordering dependency between these files.

-F must be included before D, Zfh, and Zfa. I recently suggested Zfbfmin
should be after Zfh.
-V must be before Zvk.
-Zc must be after Zb since Zbb instructions can be compressed.

So I've grouped all the scalar FP together. The vector together.
And put the compressed instructions at the end.

Reviewed By: asb, wangpc

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




More information about the All-commits mailing list