Tarun Prabhu
Tarun Prabhu
Enable a number of tests that were disabled, but now pass. ---------------------------------------- Notes for reviewers In the past, some tests pass for me, but fail on different configurations. I have...
Some tests, particularly the NIST tests require NO_STOP_MESSAGE=1 to be set. This was done unconditionally in Fortran/lit.local.cfg. However, if the test suite is configured to run ONLY the NIST tests,...
--------------------------------------------------------- NOTE FOR REVIEWERS: I have requested a reviews from several people because prior experience suggests that some tests are dependent on system configuration and libraries and pass on some...
Minimum reproducer ```f90 subroutine s(n) integer(kind = 16) :: n n = 9223372036854775808_16 end subroutine s ``` This results in the following output ```console $ flang-new -fc1 -emit-mlir -o -...
Several headers in flang require `FLANG_BIG_ENDIAN` or `FLANG_LITTLE_ENDIAN` to be defined. This causes compile-time errors when using the headers, for example in an out-of-tree flang-based tool. A minimum reproducer is...
This was reported by @pawosm-arm [here](https://github.com/llvm/llvm-project/pull/110840#issuecomment-2397596521). ``` llvm-project/mlir/include/mlir/Dialect/Mesh/Interfaces/ShardingInterface.h:84:10: fatal error: mlir/Dialect/Mesh/Interfaces/ShardingInterface.h.inc: No such file or directory 84 | #include "mlir/Dialect/Mesh/Interfaces/ShardingInterface.h.inc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [tools/mlir/lib/Dialect/Linalg/IR/CMakeFiles/obj.MLIRLinalgDialect.dir/build.make:104: tools/mlir/lib/Dialect/Linalg/IR/CMakeFiles/obj.MLIRLinalgDialect.dir/LinalgDialect.cpp.o] Error 1...
The [entry_23.f](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/entry_23.f) test in the gfortran test suite fails because it raises a segmentation fault at runtime on AArch64 and LoongArch, but works correctly on x86. It is possible that...
The [findloc_8.f90](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/findloc_8.f90) test from the gfortran test suite fails to compile on AArch64 and LoongArch, but compiles correctly on x86. It is possible that it fails on other, non-x86, platforms...
[flang] Flang goes into infinite loop when compiling gfortran test: strictly-structured-block-1.f90
Steps to reproduce: Assuming that the [LLVM test suite](https://github.com/llvm/llvm-test-suite) is checked out in `./llvm-test-suite`, compile the test as follows ``` $ flang -fopenmp ./llvm-test-suite/Fortran/gfortran/regression/gomp/strictly-structured-block-1.f90 ``` Actual behavior: the compiler seems...
Steps to reproduce: Assuming that the [LLVM test suite](https://github.com/llvm/llvm-test-suite) is checked out in ./llvm-test-suite, compile the test at various optimization levels ``` $ flang -o a0.out -O0 ./llvm-test-suite/Fortran/gfortran/regression/pr117797.f90 $ flang...