diff options
author | Craig Topper <craig.topper@intel.com> | 2019-08-26 17:59:11 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-08-26 17:59:11 +0000 |
commit | 846429de741046b3f06d7a515a54d970325b74ad (patch) | |
tree | 98b195b88effbe3f67c647aa075d1308f0fcb980 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | a4a308cc2523cf775feba830619a276ff465fff2 (diff) | |
download | bcm5719-llvm-846429de741046b3f06d7a515a54d970325b74ad.tar.gz bcm5719-llvm-846429de741046b3f06d7a515a54d970325b74ad.zip |
[DAGCombiner][X86] Teach SimplifyVBinOp to fold VBinOp (concat X, undef/constant), (concat Y, undef/constant) -> concat (VBinOp X, Y), VecC
This improves the combine I included in D66504 to handle constants in the upper operands of the concat. If we can constant fold them away we can pull the concat after the bin op. This helps with chains of madd reductions on X86 from loop unrolling. The loop madd reduction pattern creates pmaddwd with half the width of the add that follows it using zeroes to fill the upper bits. If we have two of these added together we can pull the zeroes through the accumulating add and then shrink it.
Differential Revision: https://reviews.llvm.org/D66680
llvm-svn: 369937
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions