[all-commits] [llvm/llvm-project] 1e0492: [MachineValueType] Don't allow MVT::getVectorNumEl...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jan 13 09:22:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e04923d21f8e2a3557690340ac7e7936dab20e5
      https://github.com/llvm/llvm-project/commit/1e04923d21f8e2a3557690340ac7e7936dab20e5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Support/MachineValueType.h
    M llvm/lib/Support/LowLevelType.cpp

  Log Message:
  -----------
  [MachineValueType] Don't allow MVT::getVectorNumElements() to be called for scalable vectors.

Migrate the one caller that failed lit tests to use
MVT::getVectorMinNumElements directly.




More information about the All-commits mailing list