This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] NFC: Move shader ABI attributes to a new file
ClosedPublic

Authored by antiagainst on Jan 1 2020, 8:17 AM.

Details

Summary

This allows us to include the definitions of these attributes in
other files without pulling in all dependencies for lowering.

Diff Detail

Event Timeline

antiagainst created this revision.Jan 1 2020, 8:17 AM

Update diff

Unit tests: pass. 61168 tests passed, 0 failed and 728 were skipped.

clang-tidy: fail. Please fix clang-tidy findings.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Unit tests: pass. 61168 tests passed, 0 failed and 728 were skipped.

clang-tidy: fail. Please fix clang-tidy findings.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

mravishankar accepted this revision.Jan 1 2020, 3:16 PM

Just wondering why the refactoring?

This revision is now accepted and ready to land.Jan 1 2020, 3:16 PM

Just wondering why the refactoring?

This is preparing for adding verification hooks for these attributes. The verification hooks are defined in the SPIR-V dialect class so we need to have a cleaner story for dependency. (I'll have a follow-up CL, which will make this clearer.)

This revision was automatically updated to reflect the committed changes.