[llvm] [AMDGPU] Change expand-fp opt level argument syntax (PR #157408)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 01:52:22 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/35043
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/ExpandFp/pass-parameters.ll' FAILED ********************
Exit Code: 139
Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -mtriple=amdgcn -passes="expand-fp<O0>" /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll -S -o /dev/null # RUN: at line 1
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -mtriple=amdgcn '-passes=expand-fp<O0>' /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll -S -o /dev/null
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt: warning: failed to infer data layout: unable to get target for 'amdgcn', see --version and --triple.
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt: WARNING: failed to create target machine for 'amdgcn': unable to get target for 'amdgcn', see --version and --triple.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0. Program arguments: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -mtriple=amdgcn -passes=expand-fp<O0> /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll -S -o /dev/null
1. Running pass "function(expand-fp<O0>)" on module "/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll"
2. Running pass "expand-fp<O0>" on function "empty"
#0 0x00005effe13c8070 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x353a070)
#1 0x00005effe13c4d1f llvm::sys::RunSignalHandlers() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x3536d1f)
#2 0x00005effe13c4e72 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x000078cb95c38520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00005effdf903a6c llvm::ExpandFpPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x1a75a6c)
#5 0x00005effde454166 llvm::detail::PassModel<llvm::Function, llvm::ExpandFpPass, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) crtstuff.c:0:0
#6 0x00005effe11a8042 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x331a042)
#7 0x00005effde4537f6 llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) crtstuff.c:0:0
#8 0x00005effe11a5ee9 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x3317ee9)
#9 0x00005effde3a50b6 llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) crtstuff.c:0:0
#10 0x00005effe11a6c35 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x3318c35)
#11 0x00005effde3b0845 llvm::runPassPipeline(llvm::StringRef, llvm::Module&, llvm::TargetMachine*, llvm::TargetLibraryInfoImpl*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::StringRef, llvm::ArrayRef<llvm::PassPlugin>, llvm::ArrayRef<std::function<void (llvm::PassBuilder&)>>, llvm::opt_tool::OutputKind, llvm::opt_tool::VerifierKind, bool, bool, bool, bool, bool, bool, bool, bool) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x522845)
#12 0x00005effde3a323b optMain (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x51523b)
#13 0x000078cb95c1fd90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#14 0x000078cb95c1fe40 call_init ./csu/../csu/libc-start.c:128:20
#15 0x000078cb95c1fe40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#16 0x00005effde399555 _start (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt+0x50b555)
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/Transforms/ExpandFp/Output/pass-parameters.ll.script: line 8: 1447741 Segmentation fault (core dumped) /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -mtriple=amdgcn -passes="expand-fp<O0>" /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll -S -o /dev/null
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/157408
More information about the llvm-commits
mailing list