[all-commits] [llvm/llvm-project] 8905b1: [RISCV] Efficiently lower (select %cond, andn (f, ...

Ryan Buchner via All-commits all-commits at lists.llvm.org
Wed Jul 9 06:33:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8905b1c38f15d7f7b31e741222ae1de0a11222d8
      https://github.com/llvm/llvm-project/commit/8905b1c38f15d7f7b31e741222ae1de0a11222d8
  Author: Ryan Buchner <92571492+bababuck at users.noreply.github.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/zicond-opts.ll

  Log Message:
  -----------
  [RISCV] Efficiently lower (select %cond, andn (f, x), f) using zicond (#147369)

The following case is now optimized:
(select c, (and f, ~x), f) -> (andn f, (czero_eqz x, c))



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