Jakub Kuderski c97035c49d [mlir][math][spirv] Add math.roundeven lowering to SPIR-V
This has two lowering path, one for each extended instructions set:
-  to OpenGL's `RoundEven`,
-  to OpenCL's `rint`.

Implement those two ops and add minimal tests.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D137171
2022-11-01 12:51:25 -04:00
..