[all-commits] [llvm/llvm-project] c3c17b: [RISCV] Use MVT for the argument to getMaskTypeFor...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jul 11 15:15:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3c17b169568131b391f25cb0b5ac27499a6857b
      https://github.com/llvm/llvm-project/commit/c3c17b169568131b391f25cb0b5ac27499a6857b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

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

  Log Message:
  -----------
  [RISCV] Use MVT for the argument to getMaskTypeFor. NFC

Only one caller didn't already have an MVT and that was easy to
fix. Since the return type is MVT and it uses MVT::getVectorVT,
taking an MVT as input makes the most sense.




More information about the All-commits mailing list