[all-commits] [llvm/llvm-project] b441fd: [RISCV] Separate hasRoundModeOpNum into separate V...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Aug 21 10:01:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b441fd60b2842dbd634eba51997b6c8e184b7d65
      https://github.com/llvm/llvm-project/commit/b441fd60b2842dbd634eba51997b6c8e184b7d65
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInsertReadWriteCSR.cpp

  Log Message:
  -----------
  [RISCV] Separate hasRoundModeOpNum into separate VXRM and FRM functions.

Preparation for developing a new rounding mode insertion algorithm
that is going to be different between them since VXRM doesn't need
to be save/restored.

This also unifies the FRM handling in RISCVISelLowering.cpp between
scalar and vector.

Fixes outdated comments in RISCVAsmPrinter and sorts the predicate
function by the reverse order of the operands being skipped.

Reviewed By: eopXD

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




More information about the All-commits mailing list