We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcab44a commit 387055cCopy full SHA for 387055c
lib/Conversion/TritonGPUToLLVM/FuncOpToLLVM.cpp
@@ -145,9 +145,8 @@ struct FuncOpConversion : public ConvertOpToLLVMPattern<triton::FuncOp> {
145
auto amendedFuncOp = amendFuncOp(funcOp, rewriter, targetInfo);
146
147
FailureOr<LLVM::LLVMFuncOp> maybeNewFuncOp =
148
- mlir::convertFuncOpToLLVMFuncOp(
149
- cast<FunctionOpInterface>(amendedFuncOp.getOperation()), rewriter,
150
- *getTypeConverter());
+ mlir::convertFuncOpToLLVMFuncOp(amendedFuncOp, rewriter,
+ *getTypeConverter());
151
if (failed(maybeNewFuncOp)) {
152
return failure();
153
}
0 commit comments