[all-commits] [llvm/llvm-project] 80b951: [RISCV] Correct VL for fixed length masked scatter.

Craig Topper via All-commits all-commits at lists.llvm.org
Mon May 10 09:50:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80b9510806cf11c57f2dd87191d3989fc45defa8
      https://github.com/llvm/llvm-project/commit/80b9510806cf11c57f2dd87191d3989fc45defa8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll

  Log Message:
  -----------
  [RISCV] Correct VL for fixed length masked scatter.

We were incorrectly calling getVectorNumElements on a scalable
vector type. This shouldn't be allowed. This gives a warning on
EVT, but not MVT.




More information about the All-commits mailing list