diff options
| author | David Green <david.green@arm.com> | 2023-02-08 11:43:36 +0000 |
|---|---|---|
| committer | David Green <david.green@arm.com> | 2023-02-08 11:43:36 +0000 |
| commit | 1af3f596f6c6b213cec9b3acd7099f8c4f11d0d0 (patch) | |
| tree | 93ce3750a19d74cf820793d895640b1b3704a985 /lldb/test/API/python_api/thread/TestThreadAPI.py | |
| parent | 665ee0cd57f92a112cf8e929d00768e282fb205a (diff) | |
[DAG] Fold Op(vecreduce(a), vecreduce(b)) into vecreduce(Op(a,b))
So long as the operation is reassociative, we can reassociate the double
vecreduce from for example fadd(vecreduce(a), vecreduce(b)) to
vecreduce(fadd(a,b)). This will in general save a few instructions, but some
architectures (MVE) require the opposite fold, so a shouldExpandReduction is
added to account for it. Only targets that use shouldExpandReduction will be
affected.
Differential Revision: https://reviews.llvm.org/D141870
Diffstat (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions
