[PATCH] D57317: [DAGCombine] Deduplicate addcarry node using commutativity.
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 28 02:34:56 PST 2019
deadalnix created this revision.
deadalnix added reviewers: hfinkel, RKSimon, craig.topper.
The first two parameters of addcarry are commutative. We may face a situation where both variant are present in the DAG, in which case we benefit from using just one.
Depends on D57302 <https://reviews.llvm.org/D57302> and D33587 <https://reviews.llvm.org/D33587>
Repository:
rL LLVM
https://reviews.llvm.org/D57317
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/addcarry.ll
test/CodeGen/X86/subcarry.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57317.183811.patch
Type: text/x-patch
Size: 3511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190128/b54925fe/attachment.bin>
More information about the llvm-commits
mailing list