[mlir][affine] Vectorizer test notifies the case with the unparallel loop with reduction
authorKai Sasaki <lewuathe@gmail.com>
Fri, 7 Apr 2023 06:55:55 +0000 (15:55 +0900)
committerKai Sasaki <lewuathe@gmail.com>
Fri, 7 Apr 2023 06:56:34 +0000 (15:56 +0900)
commit10cff75f12b270d856a4ff36e76a1b8441d6e2ff
treeba8aafb5563335442db69b8474f943aa70a4bffa
parentff0aabf14dfa0a369c38f6e267c56a83ee48d647
[mlir][affine] Vectorizer test notifies the case with the unparallel loop with reduction

Vectorizer test does not support unparallel loop since no parallel reduction is available. We can emit the informational message instead of crashing the cli in such a case.
Fixes https://github.com/llvm/llvm-project/issues/61842

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D147765
mlir/test/Dialect/Affine/SuperVectorize/vectorize_unsupported.mlir [new file with mode: 0644]
mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp