[all-commits] [llvm/llvm-project] 0efbf5: [RISCV] Move the passthru operand for RISCVISD::VR...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jun 21 14:01:17 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0efbf5bfbbd81ba6bd55458fbf4e9fe7abe66242
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-06-21 (Tue, 21 Jun 2022)

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

  Log Message:
  [RISCV] Move the passthru operand for RISCVISD::VRGATHER*_VL nodes. NFC

Put it before the VL instead of as the first operand. I want to add
passthru to more operands, but the commutable ones like VADD_VL
require the commutable operands to be operand 0 and 1. So we can't
have the passthru as operand 0 for those.

More information about the All-commits mailing list