[all-commits] [llvm/llvm-project] aa47bf: [RISCV] Refactor getDefaultVLOps. NFC.

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Tue Nov 15 18:12:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa47bfa9bcfac8b537b70ac8151561da32fec542
      https://github.com/llvm/llvm-project/commit/aa47bfa9bcfac8b537b70ac8151561da32fec542
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

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

  Log Message:
  -----------
  [RISCV] Refactor getDefaultVLOps. NFC.

Current getDefaultVLOps can only deduce VL from a MVT. However,
sometimes users have already known VL value. This commit will provide a
uniform interface to get VL instead of calling DAG.getConstant.

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




More information about the All-commits mailing list