[llvm-branch-commits] [llvm] RuntimeLibcalls: Add attributes inferLibFuncAttributes gives libcalls (PR #241618)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 18 17:50:29 PST 2026


github-actions[bot] wrote:

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

* 162246 tests passed
* 2335 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/scalar_to_vector.gfx11plus.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/scalar_to_vector.gfx11plus.ll -mtriple=amdgpu11.00 -mattr=+real-true16 -stop-after=amdgpu-isel | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/scalar_to_vector.gfx11plus.ll --check-prefixes=GFX11-REAL16
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgpu11.00 -mattr=+real-true16 -stop-after=amdgpu-isel
# note: command had no output on stdout or stderr
# 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/AMDGPU/scalar_to_vector.gfx11plus.ll --check-prefixes=GFX11-REAL16
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/scalar_to_vector.gfx11plus.ll:99:23: error: GFX11-REAL16-NEXT: expected string not found in input
# |  ; GFX11-REAL16-NEXT: [[GLOBAL_LOAD_SHORT_D16_SADDR_t16_:%[0-9]+]]:vgpr_16 = GLOBAL_LOAD_SHORT_D16_SADDR_t16 [[REG_SEQUENCE1]], [[V_MOV_B32_e32_]], 12, 0, implicit $exec :: ("amdgpu-noclobber" load (s16) from %ir.pa, !alias.scope !1, !noalias !4, addrspace 1)
# |                       ^
# | <stdin>:479:68: note: scanning from here
# |  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc
# |                                                                    ^
# | <stdin>:479:68: note: with "REG_SEQUENCE1" equal to "%39"
# |  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc
# |                                                                    ^
# | <stdin>:479:68: note: with "V_MOV_B32_e32_" equal to "%40"
# |  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc
# |                                                                    ^
# | <stdin>:479:68: note: pattern attempts to capture variables: "GLOBAL_LOAD_SHORT_D16_SADDR_t16_"
# |  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc
# |                                                                    ^
# | <stdin>:480:2: note: possible intended match here
# |  %42:vgpr_16 = GLOBAL_LOAD_SHORT_D16_SADDR_t16 %39, %40, 12, 0, implicit $exec :: ("amdgpu-noclobber" load (s16) from %ir.pa, !alias.scope !1, addrspace 1)
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/scalar_to_vector.gfx11plus.ll:256:23: error: GFX11-REAL16-NEXT: expected string not found in input
# |  ; GFX11-REAL16-NEXT: [[GLOBAL_LOAD_SHORT_D16_SADDR_t16_:%[0-9]+]]:vgpr_16 = GLOBAL_LOAD_SHORT_D16_SADDR_t16 [[REG_SEQUENCE1]], [[V_MOV_B32_e32_]], 12, 0, implicit $exec :: ("amdgpu-noclobber" load (s16) from %ir.pa, !alias.scope !11, !noalias !14, addrspace 1)
# |                       ^
# | <stdin>:704:68: note: scanning from here
# |  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc
# |                                                                    ^
# | <stdin>:704:68: note: with "REG_SEQUENCE1" equal to "%39"
# |  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc
# |                                                                    ^
# | <stdin>:704:68: note: with "V_MOV_B32_e32_" equal to "%40"
# |  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc
# |                                                                    ^
# | <stdin>:704:68: note: pattern attempts to capture variables: "GLOBAL_LOAD_SHORT_D16_SADDR_t16_"
# |  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc
# |                                                                    ^
# | <stdin>:705:2: note: possible intended match here
# |  %42:vgpr_16 = GLOBAL_LOAD_SHORT_D16_SADDR_t16 %39, %40, 12, 0, implicit $exec :: ("amdgpu-noclobber" load (s16) from %ir.pa, !alias.scope !9, addrspace 1)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/scalar_to_vector.gfx11plus.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           474:  %37:sreg_32 = COPY %0.sub1 
# |           475:  %38:sreg_32 = COPY %0.sub0 
# |           476:  %39:sreg_64_xexec_xnull = REG_SEQUENCE %38, %subreg.sub0, %37, %subreg.sub1 
# |           477:  %40:vgpr_32 = V_MOV_B32_e32 0, implicit $exec 
# |           478:  %41:sreg_64 = S_MOV_B64 12 
# |           479:  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc 
# | next:99'0                                                                        {   search range start (exclusive)
# | next:99'1                                                                            error: no match found in search range
# | next:99'2                                                                            with "REG_SEQUENCE1" equal to "%39"
# | next:99'3                                                                            with "V_MOV_B32_e32_" equal to "%40"
# | next:99'4                                                                            pattern attempts to capture variables: "GLOBAL_LOAD_SHORT_D16_SADDR_t16_"
# |           480:  %42:vgpr_16 = GLOBAL_LOAD_SHORT_D16_SADDR_t16 %39, %40, 12, 0, implicit $exec :: ("amdgpu-noclobber" load (s16) from %ir.pa, !alias.scope !1, addrspace 1) 
# | next:99'5       ?                                                                                                                                                            possible intended match
# |           481:  %2:sreg_32 = COPY %42 
# |           482:  S_BRANCH %bb.3 
# |           483:   
# |           484:  bb.2.b: 
# |           485:  successors: %bb.3(0x80000000) 
# |             .
# |             .
# |             .
# |           509:  %53:vgpr_32 = nuw nsw V_LSHLREV_B32_e64 %52, %51, implicit $exec 
# |           510:  GLOBAL_STORE_DWORD_SADDR %53, %48, %45, 0, 0, implicit $exec :: (store (s32) into %ir.o, !alias.scope !7, addrspace 1) 
# |           511:  S_ENDPGM 0 
# |           512: ... 
# |           513: --- 
# |           514: name: uniform_phi_lo_d16_hi_i16 
# | next:99'6                                     }  search range end (exclusive)
# |           515: alignment: 4 
# |           516: exposesReturnsTwice: false 
# |           517: legalized: false 
# |           518: regBankSelected: false 
# |           519: selected: false 
# |             .
# |             .
# |             .
# |           699:  %37:sreg_32 = COPY %0.sub1 
# |           700:  %38:sreg_32 = COPY %0.sub0 
# |           701:  %39:sreg_64_xexec_xnull = REG_SEQUENCE %38, %subreg.sub0, %37, %subreg.sub1 
# |           702:  %40:vgpr_32 = V_MOV_B32_e32 0, implicit $exec 
# |           703:  %41:sreg_64 = S_MOV_B64 12 
# |           704:  %1:sreg_64 = nuw S_ADD_U64_PSEUDO %39, %41, implicit-def dead $scc 
# | next:256'0                                                                       {   search range start (exclusive)
# | next:256'1                                                                           error: no match found in search range
# | next:256'2                                                                           with "REG_SEQUENCE1" equal to "%39"
# | next:256'3                                                                           with "V_MOV_B32_e32_" equal to "%40"
# | next:256'4                                                                           pattern attempts to capture variables: "GLOBAL_LOAD_SHORT_D16_SADDR_t16_"
# |           705:  %42:vgpr_16 = GLOBAL_LOAD_SHORT_D16_SADDR_t16 %39, %40, 12, 0, implicit $exec :: ("amdgpu-noclobber" load (s16) from %ir.pa, !alias.scope !9, addrspace 1) 
# | next:256'5      ?                                                                                                                                                            possible intended match
# |           706:  %2:sreg_32 = COPY %42 
# |           707:  S_BRANCH %bb.3 
# |           708:   
# |           709:  bb.2.b: 
# |           710:  successors: %bb.3(0x80000000) 
# |             .
# |             .
# |             .
# |           732:  %51:vgpr_32 = V_AND_B32_e64 %7(i32), %50, implicit $exec 
# |           733:  %52:sreg_32 = S_MOV_B32 2 
# |           734:  %53:vgpr_32 = nuw nsw V_LSHLREV_B32_e64 %52, %51, implicit $exec 
# |           735:  GLOBAL_STORE_DWORD_SADDR %53, %48, %45, 0, 0, implicit $exec :: (store (s32) into %ir.o, !alias.scope !15, addrspace 1) 
# |           736:  S_ENDPGM 0 
# |           737: ... 
# | next:256'6         } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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/241618


More information about the llvm-branch-commits mailing list