tensorflow / mlir

"Multi-Level Intermediate Representation" Compiler Infrastructure
1.73k stars 257 forks source link

[spirv] Check that operand of `spirv::CompositeExtractOp` is constant while folding. #281

Closed denis0x0D closed 4 years ago

denis0x0D commented 4 years ago

This patch addresses an issue https://github.com/tensorflow/mlir/issues/269 Add a check that operand of spirv::CompositeExtractOp is constant while folding. @antiagainst @MaheshRavishankar can you please take a look, thanks!