Commit e5603da
authored
[mlir][OpenMP] Fix assert in processing of dist_schedule (#170269)
When #152736 was initially merged, the assert that checks for the
chunksize when applying a static-chunked schedule was incorrect. While
it would not have changed the behaviour of the assert, the string
attached to it would have been emitted in cases where it was simplified.
This was raised here:
#152736 (comment)
Testing for this was explored, but this assert is a last chance failure
point that should never be reached as applyWorkshareLoop decides the
`EffectiveScheduleType` based on the existence of `ChunkSize` or
`DistScheduleChunkSize`, so this will only trigger if there are issues
with that conversion, and UnitTesting already exists for
`applyWorkshareLoop`1 parent ff89558 commit e5603da
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5514 | 5514 | | |
5515 | 5515 | | |
5516 | 5516 | | |
5517 | | - | |
5518 | | - | |
| 5517 | + | |
| 5518 | + | |
5519 | 5519 | | |
5520 | 5520 | | |
5521 | 5521 | | |
| |||
0 commit comments