Skip to content

Commit e1df091

Browse files
clementvalgrypp
andauthored
Apply suggestion
Co-authored-by: Guray Ozen <[email protected]>
1 parent d29a8bd commit e1df091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ LogicalResult NVVM::BarrierOp::verify() {
15061506
"barrier id is missing, it should be set between 0 to 15");
15071507

15081508
if (getBarrierId() && (getReductionOp() || getReductionPredicate()))
1509-
return emitOpError("reduction are only available for barrier id 0");
1509+
return emitOpError("reduction are only available when id is 0");
15101510

15111511
if ((getReductionOp() && !getReductionPredicate()) ||
15121512
(!getReductionOp() && getReductionPredicate()))

0 commit comments

Comments
 (0)