mlir-hlo/lib/Dialect/mhlo
Stephan Herhut 2aa07b0091 Insert explicit casts to model extra shape knowledge for unranked chlo transform
When transforming unranked binary operations from CHLO to HLO, we insert `shape.broadcast` operations. Due to context, we know that the result of the `shape.broadcast` operation has a static shape. Instead of modelling this in the type of the broadcast operation itself, which is illegal,  we now use an explicit cast.

PiperOrigin-RevId: 331989879
2020-09-16 06:14:49 -07:00
..
IR Integrate LLVM at llvm/llvm-project@e1669843f2 2020-09-16 05:58:08 -07:00
transforms Insert explicit casts to model extra shape knowledge for unranked chlo transform 2020-09-16 06:14:49 -07:00
CMakeLists.txt Add CMake files and lit configurations, enough for `ninja check-mlir-hlo` to pass on all the tests 2020-08-07 22:14:34 -07:00