[all-commits] [llvm/llvm-project] 840440: [RISCV] Make getDefaultVLOps call getDefaultScalab...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Nov 15 19:29:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84044061e880bd6c7994cb2e3048a073cf76a683
      https://github.com/llvm/llvm-project/commit/84044061e880bd6c7994cb2e3048a073cf76a683
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

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

  Log Message:
  -----------
  [RISCV] Make getDefaultVLOps call getDefaultScalableVLOps instead of the other way around. NFC

Previously getDefaultScalableVLOps called getDefaultVLOps. getDefaultVLOps
also handles fixed vectors so had to then check if it was fixed
or scalable.

Since getDefaultScalableVLOps know the type is scalable, it makes
sense for it to contain the scalable case directly and have
getDefaultVLOps call it for the scalable case.




More information about the All-commits mailing list