As per title. DAGCombiner only mathes the special case where b = 0, this patches extends the pattern to match any value of b.
Depends on D57302
Differential D59208
[DAGCombiner] fold (addcarry (xor a, -1), b, c) -> (subcarry b, a, !c) and flip carry. deadalnix on Mar 11 2019, 7:02 AM. Authored by
Details As per title. DAGCombiner only mathes the special case where b = 0, this patches extends the pattern to match any value of b. Depends on D57302
Diff Detail
Event Timeline
Comment Actions Add a comment explainign what extractBooleanFlip does. By default, only flip the boolean if it is cheaper to compute.
|