tensorflow / mlir

"Multi-Level Intermediate Representation" Compiler Infrastructure
1.74k stars 259 forks source link

[spirv] Add array length check. #160

Closed denis0x0D closed 5 years ago

denis0x0D commented 5 years ago

According to the SPIR-V spec: "Length is the number of elements in the array. It must be at least 1."

@antiagainst @MaheshRavishankar can you please take a look? Thanks!