[all-commits] [llvm/llvm-project] 31bfae: [DAGCombiner] Add hasOneUse checks for folding (no...

Jim Lin via All-commits all-commits at lists.llvm.org
Tue Feb 11 20:24:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31bfae35d26ac07636f944cdbe140ccd9ee8eca6
      https://github.com/llvm/llvm-project/commit/31bfae35d26ac07636f944cdbe140ccd9ee8eca6
  Author: Jim Lin <jim at andestech.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/align-down.ll
    M llvm/test/CodeGen/X86/align-down.ll
    M llvm/test/CodeGen/X86/not-of-dec.ll

  Log Message:
  -----------
  [DAGCombiner] Add hasOneUse checks for folding (not (add X, -1)) to (neg X) (#126667)

To get more better codegen for AArch with bic, x86 with andn and riscv
with andn.



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