Unverified Commit 02fad056 authored by Yingwei Zheng's avatar Yingwei Zheng Committed by GitHub
Browse files

[RISCV][SDAG] Fold `select c, ~x, x` into `xor -c, x` (#82462)

This patch lowers select of constants if `TrueV == ~FalseV`.
Address the comment in
https://github.com/llvm/llvm-project/pull/82456#discussion_r1496881603.
parent 1246b64f
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