[all-commits] [llvm/llvm-project] 354530: [RISCV] Prevent vsetvli insertion from deleting so...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jun 15 15:19:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 354530fe198dff5ead0965e1df8a17426c5def5e
      https://github.com/llvm/llvm-project/commit/354530fe198dff5ead0965e1df8a17426c5def5e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll

  Log Message:
  -----------
  [RISCV] Prevent vsetvli insertion from deleting some vsetvli instructions

If the result register is used, it is not safe to delete.

Reviewed By: reames

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




More information about the All-commits mailing list