summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h')
-rw-r--r--mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h b/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
index e06e88b92f1..23bfa303708 100644
--- a/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
+++ b/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
@@ -94,7 +94,7 @@ private:
Operation *funcOp = SymbolTable::lookupNearestSymbolFrom(op, funcName);
if (funcOp)
- return llvm::cast<LLVMFuncOp>(*funcOp);
+ return cast<LLVMFuncOp>(*funcOp);
mlir::OpBuilder b(op->getParentOfType<LLVMFuncOp>());
return b.create<LLVMFuncOp>(op->getLoc(), funcName, funcType);
OpenPOWER on IntegriCloud