Skip to content

Conversation

@Meinersbur
Copy link
Member

Add semantic tests of currently unsupported OpenMP canonical loops:

  • non-perfectly nested canonical loop nests (introduced in OpenMP 5.0, not yet supported in Flang)
  • non-rectangular canonical loop nests (introduced in OpenMP 5.0, not yet supported in Flang)

The message "Trip count must be computable and invariant" is the same that OpenACC emits for non-rectangular loops in AccAttributeVisitor::CheckAssociatedLoop. I considered reusing the code, but calls OpenACC-only methods and has different behavior.

@Meinersbur Meinersbur closed this Sep 23, 2025
@Meinersbur Meinersbur deleted the users/meinersbur/flang_loopnest-checks branch September 23, 2025 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant