diff options
author | Aart Bik <ajcbik@google.com> | 2022-05-27 09:48:50 -0700 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2022-05-27 10:06:01 -0700 |
commit | a5d7e2a8ac7ec30957da288dcd3ca4d7aa946d22 (patch) | |
tree | 081b7c04cfcb04bbdfb25685ee14816abaddbee0 /mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp | |
parent | 4dc3893eeb47bef9298c34cdc993165af88721a5 (diff) | |
download | llvm-a5d7e2a8ac7ec30957da288dcd3ca4d7aa946d22.zip llvm-a5d7e2a8ac7ec30957da288dcd3ca4d7aa946d22.tar.gz llvm-a5d7e2a8ac7ec30957da288dcd3ca4d7aa946d22.tar.bz2 |
[OpenMP][mlir] fix broken build
Reviewed By: Mogball
Differential Revision: https://reviews.llvm.org/D126556
Diffstat (limited to 'mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp')
-rw-r--r-- | mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp b/mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp index 25eb2bf..3f0964d 100644 --- a/mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp +++ b/mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp @@ -63,7 +63,8 @@ struct RegionLessOpConversion : public ConvertOpToLLVMPattern<T> { return failure(); if (originalVariableOperand.getType().isa<MemRefType>()) { // TODO: Support memref type in variable operands - rewriter.notifyMatchFailure(curOp, "memref is not supported yet"); + return rewriter.notifyMatchFailure(curOp, + "memref is not supported yet"); } else { convertedOperands.emplace_back(adaptor.getOperands()[idx]); } |