mlir-hlo/lib/Dialect/mhlo
Smit Hinsu 733fc6d032 Fix handling of negative seeds in random number generator op kernels for XLA
Casting negative s32 number to u64 directly will have leading 1s in the representation which is not what we want to get a single u64 out of two s32 seeds. Fixed this by first getting unsigned number of the same bit-width.

PiperOrigin-RevId: 345227848
2020-12-02 07:24:10 -08:00
..
IR Fix handling of negative seeds in random number generator op kernels for XLA 2020-12-02 07:24:10 -08:00
transforms [mlir][NFC] Replace usages of Function.h and Module.h with BuiltinOps.h 2020-12-01 13:18:06 -08: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