Skip to content

Commit c1fd5ac

Browse files
committed
[MLIR] Apply clang-tidy fixes for readability-simplify-boolean-expr in NVVMDialect.cpp (NFC)
1 parent c5995e2 commit c1fd5ac

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
@@ -421,7 +421,7 @@ LogicalResult ConvertBF16x2ToF8x2Op::verify() {
421421
"bf16x2 to f8x2.";
422422

423423
auto rnd = getRnd();
424-
if (!(rnd == RndMode::RZ || rnd == RndMode::RP))
424+
if (rnd != RndMode::RZ && rnd != RndMode::RP)
425425
return emitOpError("Only RZ and RP rounding modes are supported for "
426426
"conversions from bf16x2 to f8x2.");
427427

0 commit comments

Comments
 (0)