[all-commits] [llvm/llvm-project] 65b110: [RISCV] DAG nodes and pseudo instructions for CSR ...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Wed Apr 7 20:37:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65b1103798df7bc84137766d813315b4cc54df3e
      https://github.com/llvm/llvm-project/commit/65b1103798df7bc84137766d813315b4cc54df3e
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2021-04-08 (Thu, 08 Apr 2021)

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

  Log Message:
  -----------
  [RISCV] DAG nodes and pseudo instructions for CSR access

New custom DAG nodes were added to represent operations on CSR. These
nodes are lowered to corresponding pseudo instruction. Using the pseudo
instructions allows to specify different scheduling information for
operations on different system registers. It also make possible to
specify dependencies of instructions on specific system registers.

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




More information about the All-commits mailing list