[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 09:17:43 PST 2019
deadalnix updated this revision to Diff 189869.
deadalnix added a comment.
Update to reflect change in tests (the vector test had an incorrect constant in it).
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.189869.patch
Type: text/x-patch
Size: 4449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190308/c0fb2838/attachment.bin>
More information about the llvm-commits
mailing list