Hello everyone. Is that regression is definitely caused by my patch ?
Best Regards, Hassnaa.
From: ci_notify@linaro.org ci_notify@linaro.org Date: Saturday, 28 December 2024 at 5:41 AM To: ohno.yasuyuki@fujitsu.com ohno.yasuyuki@fujitsu.com, itou.tetsuya@fujitsu.com itou.tetsuya@fujitsu.com, t-kawashima@fujitsu.com t-kawashima@fujitsu.com Cc: maxim.kuvyrkov@linaro.org maxim.kuvyrkov@linaro.org, Hassnaa Hamdi Hassnaa.Hamdi@arm.com Subject: [Linaro-TCWG-CI] llvmorg-20-init-16411-gccfe0de0e1e3: 1 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-O3-neoverse_v1-sve_vla-mpipeliner-stack_arrays, after: | commit llvmorg-20-init-16411-gccfe0de0e1e3 | Author: Hassnaa Hamdi hassnaa.hamdi@arm.com | Date: Fri Dec 27 12:42:07 2024 +0000 | | [LV]: Teach LV to recursively (de)interleave. (#89018) | | Currently available intrinsics are only ld2/st2, which don't support interleaving factor > 2. | This patch teaches the LV to use ld2/st2 recursively to support high | interleaving factors.
Produces 1 regressions: | Running test-suite:Fujitsu/Fortran/0341 ... | NOEXE: test-suite :: Fujitsu/Fortran/0341/Fujitsu-Fortran-0341_0409.test | # "NOEXE" means : the test program cannot be compiled
Used configuration : * Toolchain : cmake -G Ninja ../llvm/llvm "-DLLVM_ENABLE_PROJECTS=clang;lld;flang;openmp;clang-tools-extra" -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/bin/clang" -DCMAKE_CXX_COMPILER="$\WORKSPACE/llvm-install/bin/clang++" -DCMAKE_Fortran_COMPILER="$\WORKSPACE/llvm-install/bin/flang-new" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= -DCMAKE_Fortran_FLAGS= -DCMAKE_C_FLAGS_RELEASE="-O3 -mcpu=neoverse-v1 -msve-vector-bits=scalable -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false -mllvm -aarch64-enable-pipeliner -mllvm -pipeliner-mve-cg -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-O3 -mcpu=neoverse-v1 -msve-vector-bits=scalable -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false -mllvm -aarch64-enable-pipeliner -mllvm -pipeliner-mve-cg -DNDEBUG" -DCMAKE_Fortran_FLAGS_RELEASE="-O3 -mcpu=neoverse-v1 -msve-vector-bits=scalable -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false -mllvm -aarch64-enable-pipeliner -mllvm -pipeliner-mve-cg -DNDEBUG -fstack-arrays" -DTEST_SUITE_FORTRAN=ON -DTEST_SUITE_SUBDIRS=Fujitsu "$\WORKSPACE/test/test-suite"
We track this bug report under https://linaro.atlassian.net/browse/LLVM-1494. Please let us know if you have a fix.
If you have any questions regarding this report, please ask on linaro-toolchain@lists.linaro.org 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 * https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O3-neoverse_v1-sve_v... The full lists of regressions and improvements as well as configure and make commands are in * https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O3-neoverse_v1-sve_v... The list of [ignored] baseline and flaky failures are in * https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O3-neoverse_v1-sve_v...
Fujitsu testsuite : https://github.com/fujitsu/compiler-test-suite/
Current build : https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O3-neoverse_v1-sve_v... Reference build : https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O3-neoverse_v1-sve_v...
Instruction to reproduce the build : https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/llvm/sh...
Full commit : https://github.com/llvm/llvm-project/commit/ccfe0de0e1e37ed369c9bf89dd0188ba... IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hi,
Thank you for paying attention.
I confimred again on my AArch64 machine. At least, your commit triggered a regression.
The compiler abends when compiling a Fortran program https://github.com/fujitsu/compiler-test-suite/blob/main/Fortran/0341/0341_0... as below.
---------------------------------------------------------------- $ flang -target aarch64-unknown-linux-gnu -O2 -march=armv8.2-a+sve Fortran/0341/0341_0409.f90 PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: /llvm/bin/flang -fc1 -triple aarch64-unknown-linux-gnu -emit-obj -fcolor-diagnostics -mrelocation-model pic -pic-level 2 -pic-is-pie -target-cpu generic -target-feature +outline-atomics -target-feature +v8.2a -target-feature +crc -target-feature +fp-armv8 -target-feature +fullfp16 -target-feature +lse -target-feature +neon -target-feature +ras -target-feature +rdm -target-feature +sve -resource-dir /llvm/lib/clang/20 -mframe-pointer=non-leaf -O2 -o /tmp/0341_0409-a1fa36.o -x f95-cpp-input Fortran/0341/0341_0409.f90 1. Running pass 'Function Pass Manager' on module 'FIRModule'. 2. Running pass 'Interleaved Access Pass' on function '@sub1_' #0 0x0000ffffa10eacf8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/llvm/lib/libLLVMSupport.so.20.0git+0x24acf8) #1 0x0000ffffa10e83f0 llvm::sys::RunSignalHandlers() (/llvm/lib/libLLVMSupport.so.20.0git+0x2483f0) #2 0x0000ffffa10e8548 SignalHandler(int) Signals.cpp:0:0 #3 0x0000ffffa37407a0 (linux-vdso.so.1+0x7a0) #4 0x0000ffff9e297e64 llvm::Instruction::eraseFromParent() (/llvm/lib/libLLVMCore.so.20.0git+0x427e64) #5 0x0000ffff9f9ca728 (anonymous namespace)::InterleavedAccessImpl::runOnFunction(llvm::Function&) InterleavedAccessPass.cpp:0:0 #6 0x0000ffff9e2e71c8 llvm::FPPassManager::runOnFunction(llvm::Function&) (/llvm/lib/libLLVMCore.so.20.0git+0x4771c8) #7 0x0000ffff9e2e73cc llvm::FPPassManager::runOnModule(llvm::Module&) (/llvm/lib/libLLVMCore.so.20.0git+0x4773cc) #8 0x0000ffff9e2e8040 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/llvm/lib/libLLVMCore.so.20.0git+0x478040) #9 0x0000ffffa20e8918 Fortran::frontend::CodeGenAction::executeAction() (/llvm/lib/libflangFrontend.so.20.0git+0x128918) #10 0x0000ffffa2020fdc Fortran::frontend::FrontendAction::execute() (/llvm/lib/libflangFrontend.so.20.0git+0x60fdc) #11 0x0000ffffa2011890 Fortran::frontend::CompilerInstance::executeAction(Fortran::frontend::FrontendAction&) (/llvm/lib/libflangFrontend.so.20.0git+0x51890) #12 0x0000ffffa2594b8c Fortran::frontend::executeCompilerInvocation(Fortran::frontend::CompilerInstance*) (/llvm/lib/libflangFrontendTool.so.20.0git+0x14b8c) #13 0x0000aaaacb935734 fc1_main(llvm::ArrayRef<char const*>, char const*) (/llvm/bin/flang+0x15734) #14 0x0000aaaacb935060 main (/llvm/bin/flang+0x15060) #15 0x0000ffffa0a684c4 (/lib/aarch64-linux-gnu/libc.so.6+0x284c4) #16 0x0000ffffa0a68598 __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28598) #17 0x0000aaaacb9335f0 _start (/llvm/bin/flang+0x135f0) flang-20: error: unable to execute command: Segmentation fault (core dumped) flang-20: error: flang frontend command failed due to signal (use -v to see invocation) flang version 20.0.0git Target: aarch64-unknown-linux-gnu Thread model: posix InstalledDir: /llvm/bin Build config: +assertions ----------------------------------------------------------------
Before your commit ccfe0de0e1, this abend doesn't happen.
As you may know, your commit was reverted by 332d2647ff and this abend doesn't happen in the latest LLVM dev revision.
Best regards, Takahiro Kawashima, Fujitsu
Hello everyone. Is that regression is definitely caused by my patch ?
Best Regards, Hassnaa.
From: ci_notify@linaro.org ci_notify@linaro.org Date: Saturday, 28 December 2024 at 5:41 AM To: ohno.yasuyuki@fujitsu.com ohno.yasuyuki@fujitsu.com, itou.tetsuya@fujitsu.com itou.tetsuya@fujitsu.com, t-kawashima@fujitsu.com t-kawashima@fujitsu.com Cc: maxim.kuvyrkov@linaro.org maxim.kuvyrkov@linaro.org, Hassnaa Hamdi Hassnaa.Hamdi@arm.com Subject: [Linaro-TCWG-CI] llvmorg-20-init-16411-gccfe0de0e1e3: 1 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-O3-neoverse_v1-sve_vla-mpipeliner-stack_arrays, after: | commit llvmorg-20-init-16411-gccfe0de0e1e3 | Author: Hassnaa Hamdi hassnaa.hamdi@arm.com | Date: Fri Dec 27 12:42:07 2024 +0000 | | [LV]: Teach LV to recursively (de)interleave. (#89018) | | Currently available intrinsics are only ld2/st2, which don't support interleaving factor > 2. | This patch teaches the LV to use ld2/st2 recursively to support high | interleaving factors.
Produces 1 regressions: | Running test-suite:Fujitsu/Fortran/0341 ... | NOEXE: test-suite :: Fujitsu/Fortran/0341/Fujitsu-Fortran-0341_0409.test | # "NOEXE" means : the test program cannot be compiled
Used configuration :
- Toolchain : cmake -G Ninja ../llvm/llvm "-DLLVM_ENABLE_PROJECTS=clang;lld;flang;openmp;clang-tools-extra" -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/bin/clang" -DCMAKE_CXX_COMPILER="$\WORKSPACE/llvm-install/bin/clang++" -DCMAKE_Fortran_COMPILER="$\WORKSPACE/llvm-install/bin/flang-new" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= -DCMAKE_Fortran_FLAGS= -DCMAKE_C_FLAGS_RELEASE="-O3 -mcpu=neoverse-v1 -msve-vector-bits=scalable -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false -mllvm -aarch64-enable-pipeliner -mllvm -pipeliner-mve-cg -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-O3 -mcpu=neoverse-v1 -msve-vector-bits=scalable -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false -mllvm -aarch64-enable-pipeliner -mllvm -pipeliner-mve-cg -DNDEBUG" -DCMAKE_Fortran_FLAGS_RELEASE="-O3 -mcpu=neoverse-v1 -msve-vector-bits=scalable -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false -mllvm -aarch64-enable-pipeliner -mllvm -pipeliner-mve-cg -DNDEBUG -fstack-arrays" -DTEST_SUITE_FORTRAN=ON -DTEST_SUITE_SUBDIRS=Fujitsu "$\WORKSPACE/test/test-suite"
We track this bug report under https://linaro.atlassian.net/browse/LLVM-1494. Please let us know if you have a fix.
If you have any questions regarding this report, please ask on linaro-toolchain@lists.linaro.org 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
The full lists of regressions and improvements as well as configure and make commands are in
The list of [ignored] baseline and flaky failures are in
Fujitsu testsuite : https://github.com/fujitsu/compiler-test-suite/
Current build : https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O3-neoverse_v1-sve_v... Reference build : https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O3-neoverse_v1-sve_v...
Instruction to reproduce the build : https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/llvm/sh...
Full commit : https://github.com/llvm/llvm-project/commit/ccfe0de0e1e37ed369c9bf89dd0188ba... IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
linaro-toolchain@lists.linaro.org