Skip to content
Commit 3ab32c94 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[X86] Replace explicit constant handling in sub(C1, xor(X, C2)) -> add(xor(X,...

[X86] Replace explicit constant handling in sub(C1, xor(X, C2)) -> add(xor(X, ~C2), C1+1) fold. NFCI.

NFC cleanup before adding vector support - rely on the SelectionDAG to handle everything for us.
parent e7e35e17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment