This is an archive of the discontinued LLVM Phabricator instance.

[mlir] accept values with result numbers in gpu.launch_func
ClosedPublic

Authored by ftynse on Jan 16 2023, 7:03 AM.

Details

Summary

The parser of gpu.launch_func was incorrectly rejecting SSA values with
result numbers (%0#0) in the list of function arguments by using the
parseArgument function intended for region argument declarations, not
operands. Fix this by directly parsing comma-separated operands and
types.

Diff Detail

Event Timeline

ftynse created this revision.Jan 16 2023, 7:03 AM
ftynse requested review of this revision.Jan 16 2023, 7:03 AM
nicolasvasilache accepted this revision.Jan 16 2023, 7:59 AM
This revision is now accepted and ready to land.Jan 16 2023, 7:59 AM
ftynse updated this revision to Diff 489571.Jan 16 2023, 8:24 AM

Rebase and trigger CI.

This revision was landed with ongoing or failed builds.Jan 16 2023, 11:26 AM
This revision was automatically updated to reflect the committed changes.