HomePhabricator

[DAGCombine] More diamong carry pattern optimization.

Authored by Amaury Sechet <deadalnix@gmail.com> on Jul 3 2019, 9:15 AM.

Description

[DAGCombine] More diamong carry pattern optimization.

Summary:
This diff improve the capability of DAGCOmbine to generate linear carries propagation in presence of a diamond pattern. It is now able to match a large variety of different patterns rather than some hardcoded one.

Arguably, the codegen in test cases is not better, but this is to be expected. The goal of this transformation is more about canonicalisation than actual optimisation.

Reviewers: hfinkel, RKSimon, craig.topper

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D57302

llvm-svn: 365051

Event Timeline

Amaury Sechet <deadalnix@gmail.com> committed rGbddb8c359739: [DAGCombine] More diamong carry pattern optimization. (authored by Amaury Sechet <deadalnix@gmail.com>).Jul 3 2019, 9:15 AM