[Mlir-commits] [mlir] 97f0595 - Update mlir-spirv-cpu-runner.cpp (#70649)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Oct 30 04:39:07 PDT 2023
Author: tsitdikov
Date: 2023-10-30T12:39:03+01:00
New Revision: 97f05956c61e98b62badc6d2449c4e848bf49062
URL: https://github.com/llvm/llvm-project/commit/97f05956c61e98b62badc6d2449c4e848bf49062
DIFF: https://github.com/llvm/llvm-project/commit/97f05956c61e98b62badc6d2449c4e848bf49062.diff
LOG: Update mlir-spirv-cpu-runner.cpp (#70649)
https://github.com/llvm/llvm-project/pull/70568 removed the support for
lowering SPIRV to LLVM dialect. We now need to stop using
enableOpaquePointers with ConvertSPIRVToLLVMPassOptions.
Added:
Modified:
mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp
Removed:
################################################################################
diff --git a/mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp b/mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp
index a427d37ae126ed1..e3d5b2ff5843ce8 100644
--- a/mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp
+++ b/mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp
@@ -94,8 +94,8 @@ static LogicalResult runMLIRPasses(Operation *module,
nestedPM.addPass(spirv::createSPIRVUpdateVCEPass());
passManager.addPass(createLowerHostCodeToLLVMPass(
enableOpaquePointers(LowerHostCodeToLLVMPassOptions{})));
- passManager.addPass(createConvertSPIRVToLLVMPass(
- enableOpaquePointers(ConvertSPIRVToLLVMPassOptions{})));
+ passManager.addPass(
+ createConvertSPIRVToLLVMPass(ConvertSPIRVToLLVMPassOptions{}));
return passManager.run(module);
}
More information about the Mlir-commits
mailing list