This is an archive of the discontinued LLVM Phabricator instance.

Emit error message instead of asserting
ClosedPublic

Authored by vimal-polymagelabs on Apr 5 2023, 1:47 AM.

Details

Summary

test-affine-parametric-tile pass was crashing on an incorrect input.
Instead it should emit an error message and exit.

Fixes: https://github.com/llvm/llvm-project/issues/61528

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2023, 1:47 AM
vimal-polymagelabs requested review of this revision.Apr 5 2023, 1:47 AM
vimal-polymagelabs edited the summary of this revision. (Show Details)

Added the github issue link to the commit summary

mehdi_amini accepted this revision.Apr 5 2023, 10:16 AM

Thanks for the fix

This revision is now accepted and ready to land.Apr 5 2023, 10:16 AM
bondhugula added inline comments.
mlir/test/lib/Dialect/Affine/TestAffineLoopParametricTiling.cpp
45–49

Please remove commented out code.

Removed commented out code

bondhugula accepted this revision.Apr 5 2023, 10:12 PM
This revision was automatically updated to reflect the committed changes.