Skip to content

Commit f3f5c84

Browse files
committed
fixup! [mlir] Add spirv-to-llvm translation for OpControlBarrier
1 parent 36b51fe commit f3f5c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,10 +1044,10 @@ static LLVM::LLVMFuncOp lookupOrCreateSPIRVFn(Operation *symbolTable,
10441044
return func;
10451045
}
10461046

1047-
static LLVM::CallOp createSPIRVBuiltinCall(Location loc, OpBuilder &rewriter,
1047+
static LLVM::CallOp createSPIRVBuiltinCall(Location loc, OpBuilder &builder,
10481048
LLVM::LLVMFuncOp func,
10491049
ValueRange args) {
1050-
auto call = rewriter.create<LLVM::CallOp>(loc, func, args);
1050+
auto call = builder.create<LLVM::CallOp>(loc, func, args);
10511051
call.setCConv(func.getCConv());
10521052
call.setConvergentAttr(func.getConvergentAttr());
10531053
call.setNoUnwindAttr(func.getNoUnwindAttr());

0 commit comments

Comments
 (0)