Mikhail Gudim
f5d153ef26
[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)
```
2025-02-22 06:11:33 -05:00
..
2025-02-20 08:56:56 -08:00
2025-01-27 16:44:14 +00:00
2025-01-24 13:27:56 +00:00
2025-01-29 16:56:47 +01:00
2025-01-24 10:53:11 +00:00
2025-01-24 10:53:11 +00:00
2025-01-24 14:02:06 -05:00
2025-02-04 02:18:33 +08:00
2025-02-11 16:23:28 -05:00
2025-02-14 10:19:50 +00:00
2025-01-03 09:25:08 -08:00
2024-12-12 10:44:52 +01:00
2024-12-06 12:21:45 +01:00
2025-01-06 15:19:09 -08:00
2025-01-24 10:53:11 +00:00
2025-02-04 02:18:33 +08:00
2025-01-24 10:53:11 +00:00
2025-01-27 16:27:54 +00:00
2025-02-13 10:46:42 +00:00
2024-12-13 14:18:33 +00:00
2025-01-24 10:53:11 +00:00
2025-01-24 13:27:56 +00:00
2025-01-27 21:20:04 +00:00
2025-02-14 01:34:54 -08:00
2025-01-27 21:20:04 +00:00
2025-02-22 06:11:33 -05:00
2024-12-16 11:55:19 -05:00
2025-01-21 00:32:56 +09:00
2025-01-24 13:27:56 +00:00
2025-01-24 14:02:06 -05:00
2025-02-04 02:18:33 +08:00
2025-01-21 01:47:38 +09:00
2025-01-24 13:27:56 +00:00
2025-02-13 10:46:42 +00:00
2025-02-11 13:03:12 +01:00
2024-12-06 09:52:32 +01:00
2025-02-22 11:26:13 +01:00
2025-02-06 11:13:01 +00:00
2025-01-29 16:56:47 +01:00
2025-01-24 13:27:56 +00:00
2025-01-24 08:38:38 +00:00
2025-01-30 11:49:42 +01:00