Added a check for 'Function' storage class in spv.globalVariable
verifier since it only can be used with spv.Variable.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D84731
[MLIR][SPIRV] Added storage class constraint on global variable ClosedPublic Authored by georgemitenkov on Jul 28 2020, 12:44 AM.
Details Summary Added a check for 'Function' storage class in spv.globalVariable
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptJul 28 2020, 12:59 AM This revision is now accepted and ready to land.Jul 28 2020, 5:51 PM Closed by commit rG8a66bb7a75f7: [MLIR][SPIRV] Added storage class constraint on global variable (authored by georgemitenkov). · Explain WhyJul 28 2020, 11:15 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 281131 mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/structure-ops.mlir
|