This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Change translation to use spirv.module
ClosedPublic

Authored by rkayaith on Oct 12 2022, 3:14 PM.

Details

Summary

Update the SPIRV mlir-translate translations to translate to/from
spirv.module instead of builtin.module. This simplifies the
translation since the code no longer needs to walk the module looking
for a SPIRV module, however it requires passing -no-implicit-module to
all the tests.

Diff Detail

Event Timeline

rkayaith created this revision.Oct 12 2022, 3:14 PM
rkayaith updated this revision to Diff 473064.Nov 3 2022, 3:49 PM
rkayaith edited the summary of this revision. (Show Details)

rebase

rkayaith published this revision for review.Nov 3 2022, 7:22 PM
This revision is now accepted and ready to land.Nov 4 2022, 9:55 AM
This revision was automatically updated to reflect the committed changes.