[all-commits] [llvm/llvm-project] 4060b8: [RISCV] Obey -riscv-v-fixed-length-vector-elen-max...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jan 19 10:48:51 PST 2022


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

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

  Log Message:
  -----------
  [RISCV] Obey -riscv-v-fixed-length-vector-elen-max when lowering mask BUILD_VECTORs.

We may not be allowed to use vXiXLen vectors. Consult ELEN to
determine what is allowed. This will become even more important
when Zve32 is added.

Reviewed By: frasercrmck, arcbbb

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




More information about the All-commits mailing list