[all-commits] [llvm/llvm-project] 944f4a: [RISCV][ISel] Select `binvi` for pattern `icmp eq/...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Thu Oct 3 00:13:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 944f4adcd2c7aa92e757984502774bd12508bfe9
      https://github.com/llvm/llvm-project/commit/944f4adcd2c7aa92e757984502774bd12508bfe9
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-10-03 (Thu, 03 Oct 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rv32zbs.ll
    M llvm/test/CodeGen/RISCV/rv64zbs.ll

  Log Message:
  -----------
  [RISCV][ISel] Select `binvi` for pattern `icmp eq/ne X, pow2` (#110957)

This patch selects `binvi` for pattern `icmp eq/ne X, pow2` when zbs is
available.



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