llvm-project/mlir/lib/Conversion/TensorToSPIRV
Jakub Kuderski c064545403 [mlir][spirv] Do not truncate i/f64 -> i/f32 in SPIRVConversion
This truncation can be unexpected and break program behavior.
Dedicated emulation passes should be used instead.

Also rename pass options to "emulate-lt-32-bit-scalar-types".

Fixes: https://github.com/llvm/llvm-project/issues/57917

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D137115
2022-11-04 15:10:28 -04:00
..
CMakeLists.txt [mlir][arith] Change dialect name from Arithmetic to Arith 2022-09-29 11:23:28 -04:00
TensorToSPIRV.cpp [mlir][spirv] Change dialect name from 'spv' to 'spirv' 2022-09-26 10:58:30 -04:00
TensorToSPIRVPass.cpp [mlir][spirv] Do not truncate i/f64 -> i/f32 in SPIRVConversion 2022-11-04 15:10:28 -04:00