[all-commits] [llvm/llvm-project] 26058e: [DAG] select (sext m), (add X, C), X --> (add X, (...

elhewaty via All-commits all-commits at lists.llvm.org
Tue Mar 5 08:41:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26058e68ea24602e0b7f4e7baa0e17c7db75a623
      https://github.com/llvm/llvm-project/commit/26058e68ea24602e0b7f4e7baa0e17c7db75a623
  Author: elhewaty <mohamedatef1698 at gmail.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/vselect.ll

  Log Message:
  -----------
  [DAG] select (sext m), (add X, C), X --> (add X, (and C, (sext m)))) (#83640)

- [DAG][X86] Add tests for Folding select m, add(X, C), X --> add (X, and(C, m))(NFC)
- [DAG][X86] Fold select (sext m), (add X, C), X --> (add X, (and C, (sext m))))
- Fixes: https://github.com/llvm/llvm-project/issues/66101



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