This is an archive of the discontinued LLVM Phabricator instance.

[mlir:PDLL] Fix the import of native constraints from ODS
ClosedPublic

Authored by rriddle on Apr 27 2022, 5:35 PM.

Details

Summary

We weren't properly returning the result of the constraint,
which leads to errors when actually trying to use the generated
C++.

Depends on D124585

Diff Detail

Event Timeline

rriddle created this revision.Apr 27 2022, 5:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2022, 5:35 PM
rriddle requested review of this revision.Apr 27 2022, 5:35 PM
jpienaar accepted this revision.Apr 28 2022, 5:57 AM
jpienaar added inline comments.
mlir/test/mlir-pdll/Integration/test-pdll.mlir
13

Could you add another op that doesn't implement interface too? E.g if we had accidentally not checked properly for success it would show

This revision is now accepted and ready to land.Apr 28 2022, 5:57 AM
This revision was landed with ongoing or failed builds.Apr 28 2022, 12:59 PM
This revision was automatically updated to reflect the committed changes.
rriddle marked an inline comment as done.