[llvm] Don't use libcalls for i128<->fp conversion on 32-bit targets (PR #196330)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 08:08:07 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 173895 tests passed
* 3307 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/Thumb2/mve-fptosi-sat-vector.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve,+fullfp16 -verify-machineinstrs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll --check-prefixes=CHECK,CHECK-MVE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve,+fullfp16 -verify-machineinstrs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll -o -
# .---command stderr------------
# | Unsupported instruction type
# | UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/ExpandIRInsts.cpp:1137!
# | 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=thumbv8.1m.main-none-none-eabi -mattr=+mve,+fullfp16 -verify-machineinstrs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll'.
# | 2.	Running pass 'Expand IR instructions' on function '@test_signed_v4f32_v4i100'
# |  #0 0x00000000086c6138 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086c30a1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086c6f51 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007bcfd55f2330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007bcfd564bb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007bcfd55f227e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007bcfd55d58ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00000000086222cf (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x86222cf)
# |  #8 0x000000000721b449 runImpl(llvm::Function&, llvm::TargetLowering const&, llvm::LibcallLoweringInfo const&, llvm::AssumptionCache*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/ExpandIRInsts.cpp:0:0
# |  #9 0x00000000078d2788 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #10 0x00000000078da232 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #11 0x00000000078d31fb runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #12 0x00000000078d31fb llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #13 0x000000000501f33b 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:882:17
# | #14 0x000000000501c283 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #15 0x00007bcfd55d71ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #16 0x00007bcfd55d728b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #17 0x0000000005017da5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x5017da5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll --check-prefixes=CHECK,CHECK-MVE
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll --check-prefixes=CHECK,CHECK-MVE
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/Thumb2/mve-fptoui-sat-vector.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve,+fullfp16 -verify-machineinstrs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll --check-prefixes=CHECK,CHECK-MVE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve,+fullfp16 -verify-machineinstrs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll -o -
# .---command stderr------------
# | Unsupported instruction type
# | UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/ExpandIRInsts.cpp:1137!
# | 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=thumbv8.1m.main-none-none-eabi -mattr=+mve,+fullfp16 -verify-machineinstrs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll'.
# | 2.	Running pass 'Expand IR instructions' on function '@test_unsigned_v4f32_v4i100'
# |  #0 0x00000000086c6138 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086c30a1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086c6f51 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007944e4980330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007944e49d9b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007944e498027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007944e49638ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00000000086222cf (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x86222cf)
# |  #8 0x000000000721b449 runImpl(llvm::Function&, llvm::TargetLowering const&, llvm::LibcallLoweringInfo const&, llvm::AssumptionCache*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/ExpandIRInsts.cpp:0:0
# |  #9 0x00000000078d2788 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #10 0x00000000078da232 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #11 0x00000000078d31fb runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #12 0x00000000078d31fb llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #13 0x000000000501f33b 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:882:17
# | #14 0x000000000501c283 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #15 0x00007944e49651ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #16 0x00007944e496528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #17 0x0000000005017da5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x5017da5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll --check-prefixes=CHECK,CHECK-MVE
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll --check-prefixes=CHECK,CHECK-MVE
# `-----------------------------
# 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/196330


More information about the llvm-commits mailing list