When the unroll factor is 1, we should only fail "unrolling" when the trip count also is determined to be 1 and it is unable to be promoted.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sorry didn't mean to send this for review quite yet, I still need to tweak this a bit, and add tests.
Comment Actions
Is this ready for review?
mlir/test/Transforms/scf-loop-unroll.mlir | ||
---|---|---|
53 | Use test.foo. (That will eventually make it easier to get rid of all unregistered ops.) |
mlir/test/Transforms/scf-loop-unroll.mlir | ||
---|---|---|
60–76 | Likewise. |
We don't need this test case - it's redundant and isn't testing anything more?