tensorflow / mlir

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

[spirv] Add a canonicalizer for BitcastOp. #238

Closed denis0x0D closed 4 years ago

denis0x0D commented 4 years ago

This PR addresses an issue https://github.com/tensorflow/mlir/issues/165. Convert chained spirv::BitcastOp operations into one spirv::BitcastOp operation.

@antiagainst @MaheshRavishankar can you please review. Thanks!

denis0x0D commented 4 years ago

@antiagainst @bondhugula thanks for review! Updated.