diff --git a/src/pass/loop_partition.cc b/src/pass/loop_partition.cc index b375c53322cd8..6a3f6ba31c516 100644 --- a/src/pass/loop_partition.cc +++ b/src/pass/loop_partition.cc @@ -207,6 +207,8 @@ class PartitionFinder : public IRVisitor { private: Expr InverseCond(const Expr& cond) { + // We expect most condition not to be of EQ or NE form. + // Currently we do not handle inversing EQ or NE. Expr inverse_cond; if (const LT* op = cond.as()) { // a < b -> a >= b