Carlos Seo
Carlos Seo
`flang-new version 17.0.0 (12426441ea2a9fdfcf6121a0061fa91d6112781d)` While building some SPEC CPU 2017 benchmarks, I noticed that Flang doesn't support `-Os`/`-Oz`. Using a simple 'hello world' program: ```console $ ~/.local/llvm-install/bin/flang-new -Os hello.f90 -o...
`flang-new version 17.0.0 (fc748408c6436c2a80e372156d53e15b014c6105)` This issue was found while building SPEC CPU 2017 with Flang. A reduced testcase follows: ```f90 subroutine foo(mystr, myvar) character(*), optional :: mystr integer :: myvar...
When compiling a program that calls `bcopy`, clang replaces it by a `memmove` call (as per `llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp`). This is not taking into account that it should generate a `__memmove_chk` when...
Building SPEC CPU 2017 (628.pop2_s) using the current `main` fails with ``` ../llvm/flang/lib/Lower/ConvertExpr.cpp:4450: not yet implemented: character array expression temp with dynamic length ``` Is there a plan to add...
When building Flang with the most current gcc (top of the tree), I'm seeing: ``` FAILED: tools/flang/lib/Lower/CMakeFiles/obj.FortranLower.dir/ConvertCall.cpp.o /usr/local/bin/c++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LIBCPP_ENABLE_HARDENED_MODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/tools/flang/lib/Lower -I/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/llvm-project/flang/lib/Lower...
This test fails with/without LTO on the current `main`: ``` # | /home/GitHub/llvm/llvm-project/openmp/libomptarget/test/mapping/target_derefence_array_pointrs.cpp:28:12: error: CHECK: expected string not found in input # | // CHECK: 3 # | ^ #...
On AArch64, `ompt/synchronization/master.c` and `ompt/synchronization/masked.c` both fail in similar ways in current `main`: ``` # | /GitHub/llvm/llvm-project/openmp/runtime/test/ompt/synchronization/masked.c:38:11: error: CHECK: expected string not found in input # | // CHECK: {{^}}[[MASTER_ID]]:...
The following tests are failing after [this commit](https://github.com/llvm/llvm-project/commit/91917387648f5638058f7f9391f144b8858c4975): [flang] Accept CONTIGUOUS attribute when redundant (https://github.com/llvm/llvm-project/pull/70853) ``` FAIL: test-suite::gfortran-regression-compile-regression__contiguous_6_f90.test FAIL: test-suite::gfortran-regression-compile-regression__contiguous_9_f90.test FAIL: test-suite::gfortran-regression-compile-regression__pr95503_f90.test ``` See buildbots for logs (i.e. https://lab.llvm.org/buildbot/#/builders/179/builds/8288)
Using the most recent Flang + OpenMP on **AArch64**, 603.bwaves (_fpspeed_) segfaults in a `__kmpc_global_thread_num` call. This happens in an `OMP PARALLEL DO PRIVATE` clause. Looking at the disassemble, looks...
Following up the discussion on the AArch64 Sync call (2024-01-09): While debugging OpenMP (`ompt/synchronization/master.c`), I noticed this: ``` ce8: 91364000 add x0, x0, #0xd90 cec: 97ffff19 bl 950 cf0: 14000001...