[all-commits] [llvm/llvm-project] 35cd6a: [RISCV] Sink NOT to be fold into ANDN/ORN/XNOR/VAN...

Piotr Fusik via All-commits all-commits at lists.llvm.org
Tue Mar 18 22:06:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35cd6a4c116b28405d814f571540819b08bc83f6
      https://github.com/llvm/llvm-project/commit/35cd6a4c116b28405d814f571540819b08bc83f6
  Author: Piotr Fusik <p.fusik at samsung.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/CodeGen/RISCV/rv32zbb-zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64zbb-zbkb.ll
    M llvm/test/CodeGen/RISCV/rvv/vandn-sdnode.ll

  Log Message:
  -----------
  [RISCV] Sink NOT to be fold into ANDN/ORN/XNOR/VANDN (#131632)

Undoes a negation being hoisted out of a loop, so that it can be fold
into an inverted bitwise operation in the loop.

Implements #108840 on RISC-V



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