[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 05:24:07 PST 2019
deadalnix updated this revision to Diff 189846.
deadalnix added a comment.
Rebase and regenerate tests introduced in rL355400 <https://reviews.llvm.org/rL355400>
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58874/new/
https://reviews.llvm.org/D58874
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/add.ll
test/CodeGen/X86/combine-add.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58874.189846.patch
Type: text/x-patch
Size: 3661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190308/70cc44de/attachment.bin>
More information about the llvm-commits
mailing list