Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mgehre-amd authored Jun 6, 2023
1 parent 99450b6 commit 9f722e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Dialect/Torch/IR/TorchOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,7 @@ void RuntimeAssertOp::getCanonicalizationPatterns(RewritePatternSet &patterns,
rewriter.eraseOp(op);
return success();
}
// Even if the condition is statically false, the assert might never be
// executed.
// If the condition is statically false, left it unfolded.
return failure();
});
}
Expand Down

0 comments on commit 9f722e9

Please sign in to comment.