[clang] [llvm] [RFC][MATHVEC] Introduce the LLVM's mathvec library as yet another veclib functions provider (PR #234621)

via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 12:50:35 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 147067 tests passed
* 2297 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/inline-mem-constraints.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgpu8.02 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\inline-mem-constraints.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=VI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\inline-mem-constraints.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgpu8.02
# .---command stderr------------
# | <inline asm>:1:29: error: flat offset modifier is not supported on this GPU
# |         flat_load_dword v0, v[0:1] offset:4095
# |                                    ^
# | <inline asm>:1:29: error: flat offset modifier is not supported on this GPU
# |         flat_load_dword v0, v[0:1] offset:4095
# |                                    ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=VI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\inline-mem-constraints.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\inline-mem-constraints.ll:136:12: error: VI-NEXT: expected string not found in input
# | ; VI-NEXT: flat_load_dword v0, v[0:1] offset:4095
# |            ^
# | <stdin>:306:13: note: scanning from here
# |  ;;#ASMSTART
# |             ^
# | <stdin>:310:46: note: possible intended match here
# |  .size flat_load_with_offset_RF, .Lfunc_end6-flat_load_with_offset_RF
# |                                              ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\inline-mem-constraints.ll:155:12: error: VI-NEXT: expected string not found in input
# | ; VI-NEXT: flat_load_dword v0, v[0:1] offset:4095
# |            ^
# | <stdin>:352:13: note: scanning from here
# |  ;;#ASMSTART
# |             ^
# | <stdin>:356:56: note: possible intended match here
# |  .size flat_load_with_offset_m_constraint, .Lfunc_end7-flat_load_with_offset_m_constraint
# |                                                        ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\inline-mem-constraints.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           301:  v_add_u32_e32 v2, vcc, 4, v0 
# |           302:  v_addc_u32_e32 v3, vcc, 0, v1, vcc 
# |           303:  flat_load_dword v0, v[0:1] 
# |           304:  flat_load_dword v1, v[2:3] 
# |           305:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# |           306:  ;;#ASMSTART 
# | next:136'0                {   search range start (exclusive)
# | next:136'1                    error: no match found in search range
# |           307:  ;;#ASMEND 
# |           308:  s_setpc_b64 s[30:31] 
# |           309: .Lfunc_end6: 
# |           310:  .size flat_load_with_offset_RF, .Lfunc_end6-flat_load_with_offset_RF 
# | next:136'2                                                  ?                          possible intended match
# |           311:  ; -- End function 
# |           312:  .set .Lflat_load_with_offset_RF.num_vgpr, 4 
# |           313:  .set .Lflat_load_with_offset_RF.num_agpr, 0 
# |           314:  .set .Lflat_load_with_offset_RF.numbered_sgpr, 32 
# |           315:  .set .Lflat_load_with_offset_RF.num_named_barrier, 0 
# |             .
# |             .
# |             .
# |           339:  .long 0 
# |           340:  .text 
# |           341:  .globl flat_load_with_offset_m_constraint ; -- Begin function flat_load_with_offset_m_constraint 
# |           342:  .p2align 6 
# |           343:  .type flat_load_with_offset_m_constraint, at function 
# |           344: flat_load_with_offset_m_constraint: ; @flat_load_with_offset_m_constraint 
# | next:136'3                                        }                                        search range end (exclusive)
# |           345: ; %bb.0: ; %entry 
# |           346:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           347:  v_add_u32_e32 v2, vcc, 4, v0 
# |           348:  v_addc_u32_e32 v3, vcc, 0, v1, vcc 
# |           349:  flat_load_dword v0, v[0:1] 
# |           350:  flat_load_dword v1, v[2:3] 
# |           351:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# |           352:  ;;#ASMSTART 
# | next:155'0                {   search range start (exclusive)
# | next:155'1                    error: no match found in search range
# |           353:  ;;#ASMEND 
# |           354:  s_setpc_b64 s[30:31] 
# |           355: .Lfunc_end7: 
# |           356:  .size flat_load_with_offset_m_constraint, .Lfunc_end7-flat_load_with_offset_m_constraint 
# | next:155'2                                                            ?                                    possible intended match
# |           357:  ; -- End function 
# |           358:  .set .Lflat_load_with_offset_m_constraint.num_vgpr, 4 
# |           359:  .set .Lflat_load_with_offset_m_constraint.num_agpr, 0 
# |           360:  .set .Lflat_load_with_offset_m_constraint.numbered_sgpr, 32 
# |           361:  .set .Lflat_load_with_offset_m_constraint.num_named_barrier, 0 
# |             .
# |             .
# |             .
# |           385:  .long 0 
# |           386:  .text 
# |           387:  .globl flat_store_RF ; -- Begin function flat_store_RF 
# |           388:  .p2align 6 
# |           389:  .type flat_store_RF, at function 
# |           390: flat_store_RF: ; @flat_store_RF 
# | next:155'3                   }                   search range end (exclusive)
# |           391: ; %bb.0: 
# |           392:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           393:  v_add_u32_e32 v4, vcc, 4, v0 
# |           394:  v_addc_u32_e32 v5, vcc, 0, v1, vcc 
# |           395:  flat_load_dword v0, v[0:1] 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# 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/234621


More information about the cfe-commits mailing list