-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[Flang][OpenACC] collapse
Associated Loop checking asserts:
#138013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@clementval @razvanlupusoru @klausler FYI, just found this playing around with godbolt, so figured I'd pass it on. |
@llvm/issue-subscribers-flang-frontend Author: Erich Keane (erichkeane)
https://godbolt.org/z/b3Y4oGsxd
```
! Type your code here, or load an example.
integer function square(x)
implicit none
integer, intent(in) :: x
integer :: n, n2
!$acc loop collapse(2) device_type(nvidia)
do n = 1, x
end function square
fatal internal error: CHECK(level == 0) failed at /root/llvm-project/flang/lib/Semantics/resolve-directives.cpp(1388)
|
https://godbolt.org/z/b3Y4oGsxd
Asserts:
I note that
tile
doesn't crash, but I believe is supposed to be ill-formed (as is this one).The text was updated successfully, but these errors were encountered: