[all-commits] [llvm/llvm-project] e5603d: [mlir][OpenMP] Fix assert in processing of dist_sc...
Jack Styles via All-commits
all-commits at lists.llvm.org
Thu Dec 4 02:00:31 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e5603da73dc2299c635e1040506039c14e77e4aa
https://github.com/llvm/llvm-project/commit/e5603da73dc2299c635e1040506039c14e77e4aa
Author: Jack Styles <jack.styles at arm.com>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[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:
https://github.com/llvm/llvm-project/pull/152736#discussion_r2578314276
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`
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list