[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
Fri Mar 8 11:50:43 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL355716: [DAGCombiner] fold (add (add (xor a, -1), b), 1) -> (sub b, a) (authored by deadalnix, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58874/new/
https://reviews.llvm.org/D58874
Files:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/trunk/test/CodeGen/X86/add.ll
llvm/trunk/test/CodeGen/X86/combine-add.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58874.189895.patch
Type: text/x-patch
Size: 4548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190308/e351f54f/attachment.bin>
More information about the llvm-commits
mailing list