diff options
| author | Mikhail Gudim <mgudim@gmail.com> | 2025-02-22 12:11:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-22 06:11:33 -0500 |
| commit | f5d153ef26a9a206ab6eb4307de24c16b600c0d9 (patch) | |
| tree | f9f623f9509364d746a1290cbc4d3c37ab6db0eb /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 8d5c1e61c60e944c9bd91ab4e8e0dce9799e501a (diff) | |
[VectorCombine] Fold binary op of reductions. (#121567)
Replace binary of of two reductions with one reduction of the binary op
applied to vectors. For example:
```
%v0_red = tail call i32 @llvm.vector.reduce.add.v16i32(<16 x i32> %v0)
%v1_red = tail call i32 @llvm.vector.reduce.add.v16i32(<16 x i32> %v1)
%res = add i32 %v0_red, %v1_red
```
gets transformed to:
```
%1 = add <16 x i32> %v0, %v1
%res = call i32 @llvm.vector.reduce.add.v16i32(<16 x i32> %1)
```
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
