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

[DAG] Move "xor (X logical_shift ShiftC), XorC --> (not X) logical_shift...

[DAG] Move "xor (X logical_shift ShiftC), XorC --> (not X) logical_shift ShiftC" fold into SimplifyDemandedBits

SimplifyDemandedBits is called slightly later which allows the not(sext(x)) -> sext(not(x)) fold to occur via foldLogicOfShifts

As mentioned on D127115, we should be able to further generalise this based off the demanded bits.
parent 2d933264
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment