[all-commits] [llvm/llvm-project] b51859: [RISCV][P-ext] Recognize vector shifts with splat ...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Mar 5 23:56:18 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b51859cb3d4fde5b3589eb1c3ce7f52f884cdc8c
      https://github.com/llvm/llvm-project/commit/b51859cb3d4fde5b3589eb1c3ce7f52f884cdc8c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
    M llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll

  Log Message:
  -----------
  [RISCV][P-ext] Recognize vector shifts with splat build_vector shift amount. (#184909)

If the shift is created during LegalizeVectorOps, the shift amount
will be created as a build_vector. Splat_vector is formed by a later
DAGCombine. LegalizeVectorOps will visit the new shift before the
splat_vector can be created. Handle this case too



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