[all-commits] [llvm/llvm-project] 25e1d6: [RISCV] Correct policy operand for RVV ISel patter...

Yueh-Ting (eop) Chen via All-commits all-commits at lists.llvm.org
Wed Jul 26 22:17:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25e1d61013b99fafc0441d34c3bdaab089199bea
      https://github.com/llvm/llvm-project/commit/25e1d61013b99fafc0441d34c3bdaab089199bea
  Author: eopXD <yueh.ting.chen at gmail.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV] Correct policy operand for RVV ISel patterns with merge operand as implicit_def (NFC)

The trailing TU_MU suffixes was added in D154625. The trailing policy
operand for these patterns has no real affect, as the vsetvli insertion
pass omits the trailing policy operand when the merge operand is
undefined.

This patch is essentially an NFC. However, the policy implied for these
patterns is actually TA_MA. This patch corrects them to avoid confusion.

Reviewed By: craig.topper

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




More information about the All-commits mailing list