[all-commits] [llvm/llvm-project] 6d516c: [llvm][RISCV] Do not assume V extension on seeing ...

Chenguang Wang via All-commits all-commits at lists.llvm.org
Fri Nov 7 14:41:29 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d516c6e28a1fdac7229ab0a1ad47adc17ac0d92
      https://github.com/llvm/llvm-project/commit/6d516c6e28a1fdac7229ab0a1ad47adc17ac0d92
  Author: Chenguang Wang <w3cing at gmail.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

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

  Log Message:
  -----------
  [llvm][RISCV] Do not assume V extension on seeing vector type. (#166994)

We have a private extension which also uses the vector type in the
frontend. Our platform does not have the V extension, so it triggered
assertion failures from within getLMULCost().

It feels reasonable to check for V extension before assuming LMUL
exists.



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