[all-commits] [llvm/llvm-project] 9623f4: [mlir][SCF]: promote one-iteration loops with equa...
Ege Beysel via All-commits
all-commits at lists.llvm.org
Fri Jun 26 09:11:14 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9623f43b8bc667dd2b76067a4fb4f4353f985f95
https://github.com/llvm/llvm-project/commit/9623f43b8bc667dd2b76067a4fb4f4353f985f95
Author: Ege Beysel <beysel at roofline.ai>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M mlir/lib/Dialect/Utils/StaticValueUtils.cpp
M mlir/test/Dialect/SCF/transform-ops.mlir
Log Message:
-----------
[mlir][SCF]: promote one-iteration loops with equal ub and step values (#205826)
Adds a fast-path to `constantTripCount` to return 1 on and enables
promotion of single-iteration loops of the form:
```
scf.for %j = %c0 to %val step %val ... { ... }
```
Signed-off-by: Ege Beysel <beyselege at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list