Skip to content

Commit 36e1b5f

Browse files
committed
Address review comment
1 parent e965e0e commit 36e1b5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4097,8 +4097,8 @@ extractHostEvalClauses(omp::TargetOp targetOp, Value &numThreads,
40974097
found = processBounds(loopOp.getLoopUpperBounds(), upperBounds) ||
40984098
found;
40994099
found = processBounds(loopOp.getLoopSteps(), steps) || found;
4100-
if (!found)
4101-
llvm_unreachable("unsupported host_eval use");
4100+
(void)found;
4101+
assert(found && "unsupported host_eval use");
41024102
})
41034103
.Default([](Operation *) {
41044104
llvm_unreachable("unsupported host_eval use");

0 commit comments

Comments
 (0)