Hi,
The tests are incorrect.

The causes are as follows.
The test programs perform an exact comparison of a single-precision 
floating-point result.
Because it is compiled with -msve-vector-bits=scalable, the generated code 
adapts to the SVE vector length of the execution environment. As a result, the 
composition of partial sums and the order of floating-point additions vary 
between systems, producing different rounding results.
The tests failed because it did not allow normal floating-point rounding 
differences caused by vectorized execution and compared the result against 
specific values using exact equality.

Please ignore the mail. We'll update the tests.
We apologize for the false detection.

Best regards,
Yasuyuki Ohno

Software Development Div.,
Advanced Technology Development Unit,
Fujitsu Research, Fujitsu Limited, JAPAN.


________________________________
差出人: [email protected] <[email protected]>
送信: 2026 年 7 月 14 日 (火曜日) 9:53
宛先: [email protected] 
<[email protected]>
Cc: [email protected] <[email protected]>; [email protected] 
<[email protected]>
件名: [Linaro-TCWG-CI] llvmorg-23-init-20756-gd445267fbb56: 2 regressions on 
aarch64

Dear contributor,

Our automatic CI has detected problems related to your patch(es). Please find 
some details below.

In tcwg_flang_test/main-aarch64-Ofast-sve_vla, after:
  | commit llvmorg-23-init-20756-gd445267fbb56
  | Author: David Green <[email protected]>
  | Date:   Fri Jun 26 15:54:41 2026 +0100
  |
  |     [AArch64] Increase the max interleave factor to 4 for loops with 
reductions (#205612)
  |
  |     The default max interleave factor is 2. Increasing it to 4 universally
  |     can spend an amount of codeside on something that does not always
  |     increase performance (especially if the loop gets over-unrolled). Small
  | ... 5 lines of the commit log omitted.

Produces 2 regressions:
  |
  | regressions.sum:
  | Running test-suite:Fujitsu/Fortran/0366 ...
  | FAIL: test-suite :: Fujitsu/Fortran/0366/Fujitsu-Fortran-0366_0002.test
  | FAIL: test-suite :: Fujitsu/Fortran/0366/Fujitsu-Fortran-0366_0098.test
  | # "FAIL" means : the execution of the compiled binary failed / output of 
the binary differs from the expected one

Used configuration :
  * Toolchain : cmake -G Ninja  ../llvm/llvm 
"-DLLVM_ENABLE_PROJECTS=clang;lld;flang;clang-tools-extra"           
"-DLLVM_ENABLE_RUNTIMES=openmp"          -DCMAKE_BUILD_TYPE=Release 
-DLLVM_ENABLE_ASSERTIONS=True          -DCMAKE_INSTALL_PREFIX=../llvm-install   
 "-DLLVM_TARGETS_TO_BUILD=AArch64" -DCLANG_DEFAULT_LINKER=lld
  * Testsuite : export 
LD_LIBRARY_PATH=$\WORKSPACE/llvm-install/lib/aarch64-unknown-linux-gnu$\{LD_LIBRARY_PATH:+:$\LD_LIBRARY_PATH}
 cmake -GNinja    -DCMAKE_C_COMPILER="$\WORKSPACE/llvm-install/bin2/clang"      
   -DCMAKE_CXX_COMPILER="$\WORKSPACE/llvm-install/bin2/clang++"     
-DCMAKE_Fortran_COMPILER="$\WORKSPACE/llvm-install/bin2/flang-new"       
-DCMAKE_BUILD_TYPE=Release       -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= 
-DCMAKE_Fortran_FLAGS=       -DCMAKE_C_FLAGS_RELEASE="-O3 -ffast-math 
-march=armv8.4-a+sve -msve-vector-bits=scalable -mllvm 
-scalable-vectorization=preferred -DNDEBUG"      -DCMAKE_CXX_FLAGS_RELEASE="-O3 
-ffast-math -march=armv8.4-a+sve -msve-vector-bits=scalable -mllvm 
-scalable-vectorization=preferred -DNDEBUG"    
-DCMAKE_Fortran_FLAGS_RELEASE="-O3 -ffast-math -march=armv8.4-a+sve 
-msve-vector-bits=scalable -mllvm -scalable-vectorization=preferred -DNDEBUG"   
      -DTEST_SUITE_FORTRAN=ON -DTEST_SUITE_SUBDIRS=Fujitsu 
-DTEST_SUITE_FUJITSU_WITH_FAST_MATH=ON    "$\WORKSPACE/test/test-suite"

We track this bug report under https://linaro.atlassian.net/browse/LLVM-2247. 
(Require Linaro login) Please let us know if you have a fix.

If you have any questions regarding this report, please ask on 
[email protected] mailing list.

-----------------8<--------------------------8<--------------------------8<--------------------------

The information below contains the details of the failures, and the ways to 
reproduce a debug environment:

You can find the failure logs in *.log.1.xz files in
 * 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-Ofast-sve_vla-build/builds/10440/archive/artifacts/00-sumfiles/
The full lists of regressions and improvements as well as configure and make 
commands are in
 * 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-Ofast-sve_vla-build/builds/10440/archive/artifacts/notify/
The list of [ignored] baseline and flaky failures are in
 * 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-Ofast-sve_vla-build/builds/10440/archive/artifacts/sumfiles/xfails.xfail

Fujitsu testsuite : https://github.com/fujitsu/compiler-test-suite/

Current build   : 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-Ofast-sve_vla-build/builds/10440/archive/artifacts/
Reference build : 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-Ofast-sve_vla-build/builds/10439/archive/artifacts/

Instruction to reproduce the build : 
https://gitlab.com/LinaroLtd/tcwg/ci/interesting-commits/-/raw/master/llvm/sha1/d445267fbb569e67ba9311f8c2bc675fd79e5d16/tcwg_flang_test/main-aarch64-Ofast-sve_vla/reproduction_instructions.txt

Full commit : 
https://github.com/llvm/llvm-project/commit/d445267fbb569e67ba9311f8c2bc675fd79e5d16
_______________________________________________
linaro-toolchain mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to