[all-commits] [llvm/llvm-project] b4b3be: [DAGCombiner] Teach SearchForAndLoads to handle an...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri May 30 16:01:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4b3be7faaa1ededdacef679074d59aff8bbc9a2
      https://github.com/llvm/llvm-project/commit/b4b3be7faaa1ededdacef679074d59aff8bbc9a2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/RISCV/pr142004.ll

  Log Message:
  -----------
  [DAGCombiner] Teach SearchForAndLoads to handle an AND with 2 constant operands. (#142062)

If opaque constants are involved we can have an AND with 2 constant
operands that hasn't been simplified. If this is the case, we need
to modify at least one of the constants if it is out of range.
    
Fixes #142004



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