[all-commits] [llvm/llvm-project] 1bfd44: [DAGCombiner] Fold and/or of NaN SETCC (#135645)

Alex MacLean via All-commits all-commits at lists.llvm.org
Wed Apr 16 06:49:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bfd44462886b167f0d82e44e6a9856a830c1f8b
      https://github.com/llvm/llvm-project/commit/1bfd44462886b167f0d82e44e6a9856a830c1f8b
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/NVPTX/and-or-setcc.ll
    A llvm/test/CodeGen/X86/and-or-setcc.ll

  Log Message:
  -----------
  [DAGCombiner] Fold and/or of NaN SETCC (#135645)

Fold an AND or OR of two NaN SETCC nodes into a single SETCC where
possible. This optimization already exists in InstCombine but adding in
here as well can allow for additional folding if more logical operations
are exposed.



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