Skip to content

Commit b6bbb8e

Browse files
authored
Update mlir-spirv-cpu-runner.cpp
llvm#70568 removed the support for lowering SPIRV to LLVM dialect. We now need to stop using enableOpaquePointers with ConvertSPIRVToLLVMPassOptions.
1 parent edebbb4 commit b6bbb8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ static LogicalResult runMLIRPasses(Operation *module,
9494
nestedPM.addPass(spirv::createSPIRVUpdateVCEPass());
9595
passManager.addPass(createLowerHostCodeToLLVMPass(
9696
enableOpaquePointers(LowerHostCodeToLLVMPassOptions{})));
97-
passManager.addPass(createConvertSPIRVToLLVMPass(
98-
enableOpaquePointers(ConvertSPIRVToLLVMPassOptions{})));
97+
passManager.addPass(
98+
createConvertSPIRVToLLVMPass(ConvertSPIRVToLLVMPassOptions{}));
9999
return passManager.run(module);
100100
}
101101

0 commit comments

Comments
 (0)