Unverified Commit 26058e68 authored by elhewaty's avatar elhewaty Committed by GitHub
Browse files

[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
parent e49479b8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment