[all-commits] [llvm/llvm-project] 7b33b8: [SelectionDAG] Support scalable splats in U(ADD|SU...
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue Jul 27 03:01:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b33b849bd337fa68accf6a61e36cb4f0a947af1
https://github.com/llvm/llvm-project/commit/7b33b849bd337fa68accf6a61e36cb4f0a947af1
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2021-07-27 (Tue, 27 Jul 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/RISCV/rvv/combine-sats.ll
Log Message:
-----------
[SelectionDAG] Support scalable splats in U(ADD|SUB)SAT combines
This patch builds on top of D106575 in which scalable-vector splats were
supported in `ISD::matchBinaryPredicate`. It teaches the DAGCombiner how
to perform a variety of the pre-existing saturating add/sub combines on
scalable-vector types.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D106652
More information about the All-commits
mailing list