[all-commits] [llvm/llvm-project] 5b7619: [mlir] Fix scf.for single iteration canonicalizati...
Lei Zhang via All-commits
all-commits at lists.llvm.org
Tue Feb 2 15:33:21 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b7619c90b1c0cfc7f5e67053dc55dca56afbf43
https://github.com/llvm/llvm-project/commit/5b7619c90b1c0cfc7f5e67053dc55dca56afbf43
Author: Lei Zhang <antiagainst at google.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M mlir/lib/Dialect/SCF/SCF.cpp
M mlir/test/Dialect/Linalg/fusion.mlir
M mlir/test/Dialect/SCF/canonicalize.mlir
Log Message:
-----------
[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.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D95440
More information about the All-commits
mailing list