[all-commits] [llvm/llvm-project] 4537aa: [RISCV] Make PseudoReadVL have the vtypes of the c...

Yeting Kuo via All-commits all-commits at lists.llvm.org
Tue May 10 23:08:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4537aae0d57e17c217c192d8977012ba475b130c
      https://github.com/llvm/llvm-project/commit/4537aae0d57e17c217c192d8977012ba475b130c
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2022-05-11 (Wed, 11 May 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVMCInstLower.cpp
    A llvm/test/CodeGen/RISCV/rvv/vleff-rv32-readvl.ll
    A llvm/test/CodeGen/RISCV/rvv/vleff-rv64-readvl.ll
    A llvm/test/CodeGen/RISCV/rvv/vlseg2ff-rv32-readvl.ll
    A llvm/test/CodeGen/RISCV/rvv/vlseg2ff-rv64-readvl.ll

  Log Message:
  -----------
  [RISCV] Make PseudoReadVL have the vtypes of the corresponding VLEFF/VLSEGFF.

The patch make PseudoReadVL have the vtypes of the corresponding VLEFF/VLSEGFF.
It's useful to get the vtypes of locations of PseudoReadVL without finding the
corresponding VLEFF/VLSEGFF.
It could simplify optimizations in RISCVInsertVSETVLI like D123581.

Reviewed By: craig.topper

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




More information about the All-commits mailing list