[all-commits] [llvm/llvm-project] 69f64d: [RISCV] Use DemandedFields instead of checking for...

Luke Lau via All-commits all-commits at lists.llvm.org
Sun Nov 19 21:24:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69f64dedb09bf39bd3ad66bcbc2c947b23342a11
      https://github.com/llvm/llvm-project/commit/69f64dedb09bf39bd3ad66bcbc2c947b23342a11
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [RISCV] Use DemandedFields instead of checking for vmv.s.x/vmv.x.s. NFC

The property we're explicitly looking for is whether or not MI only cares about
VL zeroness and not VL itself, so we can just use DemandedFields for this. This
should simplify an upcoming change in #72352


  Commit: 933dd03386df3c0cfedf4fe6bc984d776f1298ca
      https://github.com/llvm/llvm-project/commit/933dd03386df3c0cfedf4fe6bc984d776f1298ca
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [RISCV] Remove checks that MI's info is valid. NFC

It's always guaranteed to be valid since we compute it ourselves from MI.
This should simplify an upcoming change in #72352


Compare: https://github.com/llvm/llvm-project/compare/95d584c6ac5b...933dd03386df


More information about the All-commits mailing list