Induction variable calculation was ignoring scf.for step value. Fix it to get the correct induction variable value in the prologue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D118932
[mlir][scf] Fix bug in pipelining prologue emission ClosedPublic Authored by ThomasRaoux on Feb 3 2022, 11:45 AM.
Details Summary Induction variable calculation was ignoring scf.for step value. Fix it to get the correct induction variable value in the prologue.
Diff Detail
Event TimelineComment Actions
done This revision is now accepted and ready to land.Feb 3 2022, 12:50 PM Closed by commit rGc3c1c5c6953f: [mlir][scf] Fix bug in pipelining prologue emission (authored by ThomasRaoux). · Explain WhyFeb 3 2022, 1:13 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 405761 mlir/lib/Dialect/SCF/Transforms/LoopPipelining.cpp
mlir/test/Dialect/SCF/loop-pipelining.mlir
|