[all-commits] [llvm/llvm-project] b9a1e5: [RISCVISel] Compute leading zeros for RISCVISD::VC...

Vladislav Belov via All-commits all-commits at lists.llvm.org
Wed Feb 19 00:40:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9a1e58b2c63c9c0ef775d97d6728b64083a2239
      https://github.com/llvm/llvm-project/commit/b9a1e58b2c63c9c0ef775d97d6728b64083a2239
  Author: Vladislav Belov <vladislav.belov at syntacore.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/vcpop-compute-known-bits.ll
    A llvm/test/CodeGen/RISCV/rvv/vcpop-shl-zext-opt.ll

  Log Message:
  -----------
  [RISCVISel] Compute leading zeros for RISCVISD::VCPOP_VL node (#127705)

This patch adds handling of the RISCVISD::VCPOP_VL node in
RISCVTargetLowering::computeKnownBitsForTargetNode. It eliminates
redundant zero-extension instructions.



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