Skip to content

Commit 5a2d87b

Browse files
committed
Fix omp namespace for target_freemem
1 parent e802e5e commit 5a2d87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5836,7 +5836,7 @@ static bool isTargetDeviceOp(Operation *op) {
58365836
return true;
58375837

58385838
if (mlir::isa<omp::TargetAllocMemOp>(op) ||
5839-
mlir::isa<mp::TargetFreeMemOp>(op))
5839+
mlir::isa<omp::TargetFreeMemOp>(op))
58405840
return true;
58415841

58425842
if (auto parentFn = op->getParentOfType<LLVM::LLVMFuncOp>())

0 commit comments

Comments
 (0)