This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Add get() method to TargetEnvAttr taking raw values
ClosedPublic

Authored by antiagainst on Mar 2 2020, 2:27 PM.

Details

Summary

Also make the getResourceLimits() method more explicit about its return type.

Diff Detail

Event Timeline

antiagainst created this revision.Mar 2 2020, 2:27 PM
Herald added a project: Restricted Project. · View Herald Transcript
mravishankar accepted this revision.Mar 4 2020, 10:37 AM
mravishankar added inline comments.
mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
58

Can we deprecate this one. I dont see a point of that anymore..

This revision is now accepted and ready to land.Mar 4 2020, 10:37 AM
antiagainst marked 2 inline comments as done.Mar 4 2020, 10:50 AM
antiagainst added inline comments.
mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
58

It might still be useful when we have extensions already packed as ArryAttr from somewhere else. Let's keep it for now.

This revision was automatically updated to reflect the committed changes.
antiagainst marked an inline comment as done.