This is an archive of the discontinued LLVM Phabricator instance.

[mlir][arith][spirv] Hard fail in `-convert-arith-to-spirv`
ClosedPublic

Authored by kuhar on Oct 31 2022, 12:27 PM.

Details

Summary

Turn legalization failures into hard failures to make sure that we do
not miss conversion pattern application failures.

Add a message on type conversion failure.

Move unsupported cases into a separate test file.

Diff Detail

Event Timeline

kuhar created this revision.Oct 31 2022, 12:27 PM
kuhar requested review of this revision.Oct 31 2022, 12:27 PM
antiagainst accepted this revision.Oct 31 2022, 1:56 PM
This revision is now accepted and ready to land.Oct 31 2022, 1:56 PM
This revision was automatically updated to reflect the committed changes.