llvm/mlir/lib/Conversion/MemRefToSPIRV
Lei Zhang 0065bd2ad5 [mlir][spirv] Fix loading bool with proper storage capabilities
If the source value to load is bool, and we have native storage
capability support for the source bitwidth, we still cannot directly
rewrite uses; we need to perform casting to bool first.

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D107119
2021-07-30 18:06:11 -04:00
..
CMakeLists.txt
MemRefToSPIRV.cpp [mlir][spirv] Fix loading bool with proper storage capabilities 2021-07-30 18:06:11 -04:00
MemRefToSPIRVPass.cpp [mlir][spirv] Fix storing bool with proper storage capabilities 2021-07-30 18:06:10 -04:00