[mlir][spirv] Flip createConvertGPUToSPIRVPass mapMemorySpace default
authorjackalcooper <jackalcooper@gmail.com>
Wed, 26 Oct 2022 15:01:07 +0000 (11:01 -0400)
committerLei Zhang <antiagainst@google.com>
Wed, 26 Oct 2022 15:09:28 +0000 (11:09 -0400)
commit5fcf3e8b4e90b24e49e25766e63fb4e1803582a9
tree3b7367e7dd038cd63011b30813d5f70d5ac6cbb1
parentaceb67eeb516fd4ca762de6bd8194ca7f31c9f45
[mlir][spirv] Flip createConvertGPUToSPIRVPass mapMemorySpace default

Some down-stream libraries only have access to CAPI, setting
default value of mapMemorySpace to true will help them convert IR
to SPIR-V.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D136739
mlir/include/mlir/Conversion/GPUToSPIRV/GPUToSPIRVPass.h