llvm-project
83af24dd - [DAG] Generalize fold (not (neg x)) -> (add X, -1) (#154348)

Commit
197 days ago
[DAG] Generalize fold (not (neg x)) -> (add X, -1) (#154348) Generalize `fold (not (neg x)) -> (add X, -1)` to `fold (not (sub Y, X)) -> (add X, ~Y)` --------- Co-authored-by: Yui5427 <785369607@qq.com> Co-authored-by: Simon Pilgrim <llvm-dev@redking.me.uk>
Author
Parents
Loading