[mlir] Fix scf.for single iteration canonicalization check
We should be check whether lb + step >= ub to determine whether this is a single iteration. Previously we were checking lb + lb >= ub. Differential Revision: https://reviews.llvm.org/D95440
Loading
Please register or sign in to comment