[llvm] [AMDGPU] Check hasNoF16PseudoScalarTransInlineConstants in more places (PR #208459)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 04:22:01 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 146591 tests passed
* 3187 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/pseudo-scalar-transcendental.mir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgpu12.00-amd-amdpal -x mir --show-mc-encoding < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pseudo-scalar-transcendental.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=GFX12 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pseudo-scalar-transcendental.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgpu12.00-amd-amdpal -x mir --show-mc-encoding
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp:55: void encodeDwarfRegisterLocation(int, raw_ostream &): Assertion `DwarfReg >= 0' failed.
# | 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/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgpu12.00-amd-amdpal -x mir --show-mc-encoding
# | 1. Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@exp_f16_imm'
# | #0 0x000000000886bcbb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x0000000008868b81 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000886cadb SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x000078ad3ed68330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000078ad3edc1b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x000078ad3ed6827e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x000078ad3ed4b8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x000078ad3ed4b81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x000078ad3ed5e517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000005abc4af (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x5abc4af)
# | #10 0x0000000005ac055a llvm::SIFrameLowering::emitPrologueEntryCFI(llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::DebugLoc const&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp:1125:37
# | #11 0x0000000005ac2efc llvm::SIFrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp:0:0
# | #12 0x00000000076ffb13 insertPrologEpilogCode /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:9
# | #13 0x00000000076ffb13 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:257:5
# | #14 0x0000000007702e57 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:276:45
# | #15 0x0000000007702e57 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:278:27
# | #16 0x0000000007702e57 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1242:46
# | #17 0x0000000007702e57 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:81:7
# | #18 0x0000000007702e57 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:356:3
# | #19 0x000000000751b419 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:99:7
# | #20 0x0000000007aaf1d0 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #21 0x0000000006fde645 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #22 0x0000000006fde645 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:468:9
# | #23 0x0000000006fde645 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:533:18
# | #24 0x0000000007aaff36 runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #25 0x0000000007aaff36 llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:533:44
# | #26 0x0000000005144a43 compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:890:17
# | #27 0x0000000005141a03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #28 0x000078ad3ed4d1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #29 0x000078ad3ed4d28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #30 0x0000000005140ba5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x5140ba5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=GFX12 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pseudo-scalar-transcendental.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=GFX12 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pseudo-scalar-transcendental.mir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/208459
More information about the llvm-commits
mailing list