Skip to content

[flang][rt] Enable Count and CountDim for device build #141684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2025

Conversation

clementval
Copy link
Contributor

No description provided.

@clementval clementval requested review from wangzpgi and vzakhari May 27, 2025 23:04
@llvmbot llvmbot added the flang Flang issues not falling into any other category label May 27, 2025
@clementval clementval merged commit fc9ce03 into llvm:main May 28, 2025
9 checks passed
@clementval clementval deleted the flang_rt_count branch May 28, 2025 16:55
@llvm-ci
Copy link
Collaborator

llvm-ci commented May 29, 2025

LLVM Buildbot has detected a new failure on builder ppc64-flang-aix running on ppc64-flang-aix-test while building flang-rt at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/201/builds/4830

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
2.444 [18/162/83] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/ucmpdi2.c.o
2.449 [17/162/84] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/udivdi3.c.o
2.459 [16/162/85] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/udivmoddi4.c.o
2.466 [15/162/86] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/udivmodsi4.c.o
2.472 [14/162/87] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/udivmodti4.c.o
2.477 [13/162/88] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/udivsi3.c.o
2.485 [12/162/89] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/udivti3.c.o
2.508 [11/162/90] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/umoddi3.c.o
2.525 [10/162/91] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/umodsi3.c.o
2.532 [9/162/92] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/muldc3.c.o
FAILED: CMakeFiles/clang_rt.builtins-powerpc.dir/muldc3.c.o 
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/./bin/clang --target=powerpc64-ibm-aix -DVISIBILITY_HIDDEN  -O3 -DNDEBUG -m32 -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -MD -MT CMakeFiles/clang_rt.builtins-powerpc.dir/muldc3.c.o -MF CMakeFiles/clang_rt.builtins-powerpc.dir/muldc3.c.o.d -o CMakeFiles/clang_rt.builtins-powerpc.dir/muldc3.c.o -c /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/compiler-rt/lib/builtins/muldc3.c
fatal error: error in backend: Cannot select: intrinsic %llvm.ppc.altivec.vupklsw
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/./bin/clang --target=powerpc64-ibm-aix -DVISIBILITY_HIDDEN -O3 -DNDEBUG -m32 -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -MD -MT CMakeFiles/clang_rt.builtins-powerpc.dir/muldc3.c.o -MF CMakeFiles/clang_rt.builtins-powerpc.dir/muldc3.c.o.d -o CMakeFiles/clang_rt.builtins-powerpc.dir/muldc3.c.o -c /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/compiler-rt/lib/builtins/muldc3.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/compiler-rt/lib/builtins/muldc3.c'.
4.	Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@__muldc3'
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 21.0.0git
Target: powerpc-ibm-aix
Thread model: posix
InstalledDir: /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/bin
Build config: +assertions
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/muldc3-a038d0.c
clang: note: diagnostic msg: /tmp/muldc3-a038d0.sh
clang: note: diagnostic msg: 

********************
2.540 [9/161/93] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/umodti3.c.o
2.548 [9/160/94] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/emutls.c.o
2.551 [9/159/95] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/enable_execute_stack.c.o
2.552 [9/158/96] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/gcc_personality_v0.c.o
2.554 [9/157/97] Building C object CMakeFiles/clang_rt.builtins-powerpc.dir/clear_cache.c.o
2.556 [9/156/98] Building C object CMakeFiles/clang_rt.builtins-powerpc64.dir/ppc/fixunstfdi.c.o
2.556 [9/155/99] Building C object CMakeFiles/clang_rt.builtins-powerpc64.dir/ppc/floatunditf.c.o
2.558 [9/154/100] Building C object CMakeFiles/clang_rt.builtins-powerpc64.dir/ppc/gcc_qadd.c.o
2.577 [9/153/101] Building C object CMakeFiles/clang_rt.builtins-powerpc64.dir/absvdi2.c.o
2.588 [9/152/102] Building C object CMakeFiles/clang_rt.builtins-powerpc64.dir/ppc/gcc_qmul.c.o
2.619 [9/151/103] Building C object CMakeFiles/clang_rt.builtins-powerpc64.dir/ppc/divtc3.c.o
2.624 [9/150/104] Building C object CMakeFiles/clang_rt.builtins-powerpc64.dir/absvsi2.c.o
2.633 [9/149/105] Building C object CMakeFiles/clang_rt.builtins-powerpc64.dir/apple_versioning.c.o

sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants