[all-commits] [llvm/llvm-project] 976b00: [RISCV] Disable combineToVCPOP for illegal scalabl...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri May 16 11:24:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 976b00654a37ada462fc19df11a1d2468c1c463c
      https://github.com/llvm/llvm-project/commit/976b00654a37ada462fc19df11a1d2468c1c463c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/combine-reduce-add-to-vcpop.ll

  Log Message:
  -----------
  [RISCV] Disable combineToVCPOP for illegal scalable vector types. (#140195)

This transform creates target specific instructions which must have
legal types. We were checking this for fixed vectors, but not scalable
vectors. This caused a crash with <vscale x 1 x i1> which isn't legal
for Zve32x.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list