[mlir][vector] Fold 1-element reduction into extract or arith ops
If there is only one single element in the vector, then we can just extract the element to compute the final result. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D124129
Loading
Please sign in to comment