[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
parent
2518d4f6
Please register or sign in to comment