Skip to content

Commit

Permalink
Remove useless / untested verifier in scf.foreach_thread (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-eph committed Jan 19, 2023
1 parent 176a082 commit a478193
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mlir/lib/Dialect/SCF/IR/SCF.cpp
Expand Up @@ -1110,10 +1110,6 @@ Speculation::Speculatability ForOp::getSpeculatability() {
//===----------------------------------------------------------------------===//

LogicalResult ForeachThreadOp::verify() {
// Call terminator's verify to produce most informative error messages.
if (failed(getTerminator().verify()))
return failure();

// Check number of outputs.
if (getNumResults() != getOutputs().size())
return emitOpError("produces ")
Expand Down

0 comments on commit a478193

Please sign in to comment.