[PATCH] D58874: [DAGCombiner] fold (add (add (xor a, -1), b), 1) -> (sub b, a)
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 2 11:30:50 PST 2019
deadalnix added a comment.
It is interesting that instcombine doesn't do this. I would have expected it to be the case. Let me prepare a patch for it.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58874/new/
https://reviews.llvm.org/D58874
More information about the llvm-commits
mailing list