Commit 09397d5
committed
[MLIR][Affine] Fix crash with invalid unroll factor (Issue llvm#64321)
Updated LoopUnroll pass to check if unrollFactor passed by the user is invalid, i.e., less than or equal to
zero. If so, emit appropriate message and signal pass failure.
Reporting Issue is llvm#643211 parent a8913f8 commit 09397d5
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
0 commit comments