[flang-commits] [flang] [flang][OpenMP] Try to unify induction var privatization for sequential loops inside parallel regions. (PR #91116)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Mon May 6 06:47:04 PDT 2024


ergawy wrote:

> For testing, please run the gfortran testsuite. Some of our CI will test this.
> 
> ```
> git clone https://github.com/llvm/llvm-test-suite.git
> cd llvm-test-suite
> mkdir build
> cd build
> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$HOME/llvm-project/build_release/bin/clang  -DCMAKE_CXX_COMPILER=$HOME/llvm-project/build_release/bin/clang++ -DCMAKE_Fortran_COMPILER=$HOME/llvm-project/build_release/bin/flang-new -DTEST_SUITE_FORTRAN=On -DTEST_SUITE_SUBDIRS=Fortran -DTEST_SUITE_FORTRAN_ISO_C_HEADER_DIR=$HOME/llvm-project/flang/include/flang ../
> make -j48
> NO_STOP_MESSAGE=1 $HOME/llvm-project/build_release/bin/llvm-lit -v  .
> ```
> 
> The fujitsu testsuite also is available. Some tests might be failing, so if you using this just ensure that there are no additional failures. https://github.com/fujitsu/compiler-test-suite

Thanks for the starting instructions.

Does this currently work for `flang-new` out of the box?
```
/home/kaergawy/git/llvm-test-suite/build/Fortran/UnitTests/hello && /home/kaergawy/git/trunk18.0/build/llvm-project-2/bin/flang-new -DNDEBUG  -w -Werror=date-time -c /home/kaergawy/git/llvm-test-suite/Fortran/UnitTests/hello/hello.f90 -o CMakeFiles/hello.dir/hello.f90.o
```

https://github.com/llvm/llvm-project/pull/91116


More information about the flang-commits mailing list