diff options
author | Prakhar Dixit <dixitprakhar11@gmail.com> | 2025-03-08 22:04:01 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-08 16:34:01 +0000 |
commit | 037756242f6eb3cdd6e73ab6597651f87aa7b933 (patch) | |
tree | 665bfe793b2a2df3083aed7759b0eac437b56ad2 /llvm/lib/Bitcode | |
parent | 46d218d1af5d285a646a1e5d3be6a43940fb4a9d (diff) | |
download | llvm-037756242f6eb3cdd6e73ab6597651f87aa7b933.zip llvm-037756242f6eb3cdd6e73ab6597651f87aa7b933.tar.gz llvm-037756242f6eb3cdd6e73ab6597651f87aa7b933.tar.bz2 |
[mlir]Add a check to ensure bailing out when reducing to a scalar (#129694)
Fixes issue #64075
Referencing this comment for more detailed view ->
https://github.com/llvm/llvm-project/issues/64075#issuecomment-2694112594
**Minimal example crashing :**
```
func.func @multi_reduction(%0: vector<4x2xf32>, %acc1: f32) -> f32 {
%2 = vector.multi_reduction <add>, %0, %acc1 [0, 1] : vector<4x2xf32> to f32
return %2 : f32
}
```
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions