[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:55:02 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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):
--
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt -mtriple=amdgcn -passes="expand-fp<O0>" /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll -S -o /dev/null # RUN: at line 1
+ /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt -mtriple=amdgcn '-passes=expand-fp<O0>' /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll -S -o /dev/null
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt: warning: failed to infer data layout: unable to get target for 'amdgcn', see --version and --triple.
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/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: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt -mtriple=amdgcn -passes=expand-fp<O0> /Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll -S -o /dev/null
1.	Running pass "function(expand-fp<O0>)" on module "/Users/buildbot/buildbot-root/llvm-project/llvm/test/Transforms/ExpandFp/pass-parameters.ll"
2.	Running pass "expand-fp<O0>" on function "empty"
 #0 0x0000000105e660ec llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x1017ee0ec)
 #1 0x0000000105e63e9c llvm::sys::RunSignalHandlers() (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x1017ebe9c)
 #2 0x0000000105e66bec SignalHandler(int, __siginfo*, void*) (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x1017eebec)
 #3 0x000000019b7c7584 (/usr/lib/system/libsystem_platform.dylib+0x18047b584)
 #4 0x0000000105515bd0 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x100e9dbd0)
 #5 0x0000000105515bd0 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x100e9dbd0)
 #6 0x0000000105519d38 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x100ea1d38)
 #7 0x0000000105514ee8 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x100e9cee8)
 #8 0x0000000106335fbc 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::__1::function<void (llvm::PassBuilder&)>>, llvm::opt_tool::OutputKind, llvm::opt_tool::VerifierKind, bool, bool, bool, bool, bool, bool, bool, bool) (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x101cbdfbc)
 #9 0x0000000106340e00 optMain (/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt+0x101cc8e00)
#10 0x000000019b40b154
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/test/Transforms/ExpandFp/Output/pass-parameters.ll.script: line 8: 52362 Segmentation fault: 11  /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/opt -mtriple=amdgcn -passes="expand-fp<O0>" /Users/buildbot/buildbot-root/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