This is an archive of the discontinued LLVM Phabricator instance.

[spirv] Add more target and resource limit fields
ClosedPublic

Authored by antiagainst on Sep 3 2020, 11:49 AM.

Details

Summary

These fields will be used to choose/influence patterns for
SPIR-V code generation.

Diff Detail

Event Timeline

antiagainst created this revision.Sep 3 2020, 11:49 AM
antiagainst requested review of this revision.Sep 3 2020, 11:49 AM
mravishankar accepted this revision.Sep 3 2020, 12:19 PM

Nice! THanks!
Is there a way to add tests for these (do we need to)? Some roundtrip tests will serve as good reference.

This revision is now accepted and ready to land.Sep 3 2020, 12:19 PM

Nice! THanks!
Is there a way to add tests for these (do we need to)? Some roundtrip tests will serve as good reference.

Not really. These should be used to select/influence patterns/passes. That's what we are gonna to develop and accumulate eventually. :)

This revision was automatically updated to reflect the committed changes.