This is an archive of the discontinued LLVM Phabricator instance.

[mlir][affine] Vectorizer test notifies the case with the unparallel loop with reduction
ClosedPublic

Authored by Lewuathe on Apr 6 2023, 11:00 PM.

Details

Summary

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

Diff Detail

Event Timeline

Lewuathe created this revision.Apr 6 2023, 11:00 PM
Herald added a project: Restricted Project. · View Herald Transcript
Lewuathe requested review of this revision.Apr 6 2023, 11:01 PM
mehdi_amini accepted this revision.Apr 6 2023, 11:05 PM
mehdi_amini edited the summary of this revision. (Show Details)
mehdi_amini added inline comments.
mlir/test/Dialect/Affine/SuperVectorize/vectorize_unsupported.mlir
2

Please remove allow-unregistered-dialect

This revision is now accepted and ready to land.Apr 6 2023, 11:07 PM