Issue 56678
Summary [Flang] Parsing error with `LOOP COUNT` compiler directive
Labels flang:frontend
Assignees
Reporter UsmanNadeem
    We get: `error: expected end of line`

Sample code: https://godbolt.org/z/hrM8PKPef 
```
function foo(m)
    !DIR$ LOOP COUNT (10000)
    ! or another syntax
    ! !DIR$ LOOP COUNT MAX=10000, MIN=30, AVG=500
    do n = 1, m
       print*,  n
    end do
end function foo
``` 

Reference from ifort: https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/language-reference/a-to-z-reference/j-to-l/loop-count.html 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to