[all-commits] [llvm/llvm-project] 62ea6c: [DAGCombine] Deduplicate addcarry node using commu...
deadalnix via All-commits
all-commits at lists.llvm.org
Fri Oct 7 15:55:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 62ea6c5be785ff149fa593b431b4d5053e2b81a8
https://github.com/llvm/llvm-project/commit/62ea6c5be785ff149fa593b431b4d5053e2b81a8
Author: Amaury Séchet <deadalnix at gmail.com>
Date: 2022-10-08 (Sat, 08 Oct 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/X86/addcarry.ll
Log Message:
-----------
[DAGCombine] Deduplicate addcarry node using commutativity.
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 and D33587
Reviewed By: RKSimon, chfast
Differential Revision: https://reviews.llvm.org/D57317
More information about the All-commits
mailing list