[clang-tools-extra] [MLIR] Update convert-gpu-to-spirv pass to prepare using GPU compilat… (PR #69941)

Sang Ik Lee via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 27 18:19:58 PDT 2023


================
@@ -108,6 +147,31 @@ void GPUToSPIRVPass::runOnOperation() {
     if (failed(applyFullConversion(gpuModule, *target, std::move(patterns))))
       return signalPassFailure();
   }
+
+  // In case of OpenCL, gpu.func in original gpu.module needs to replaced with
----------------
silee2 wrote:

Updated comment.

https://github.com/llvm/llvm-project/pull/69941


More information about the cfe-commits mailing list