[all-commits] [llvm/llvm-project] e21814: [RISCV][llvm] Correct shamt in P extension EXTRACT...

Brandon Wu via All-commits all-commits at lists.llvm.org
Sun Nov 30 19:04:12 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2181400d70857bc5a212a4053d5d7940c84acaf
      https://github.com/llvm/llvm-project/commit/e2181400d70857bc5a212a4053d5d7940c84acaf
  Author: Brandon Wu <brandon.wu at sifive.com>
  Date:   2025-12-01 (Mon, 01 Dec 2025)

  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][llvm] Correct shamt in P extension EXTRACT_VECTOR_ELT lowering (#169823)

During operation legalization, element type should have been turn into
XLenVT which makes the SHL a no-op. We need to use exact vector element
type instead.



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