Commit 90d11a6
[mlir][OpenMP] Fix assert in processing of dist_schedule (llvm#170269)
When llvm#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:
llvm#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 4919151 commit 90d11a6
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