[llvm] [NFC][WebAssembly] Add Fast-ISel test for load-ext (PR #181480)

via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 14 06:40:17 PST 2026


github-actions[bot] wrote:

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

* 169656 tests passed
* 3059 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/WebAssembly/load-ext.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/load-ext.ll --mtriple=wasm32-unknown-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/load-ext.ll --check-prefixes=CHECK,SLOW
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=wasm32-unknown-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers
# 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/WebAssembly/load-ext.ll --check-prefixes=CHECK,SLOW
# note: command had no output on stdout or stderr
# 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/WebAssembly/load-ext.ll --mtriple=wasm32-unknown-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -fast-isel -fast-isel-abort=1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/load-ext.ll --check-prefixes=CHECK,FAST
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=wasm32-unknown-unknown -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers -fast-isel -fast-isel-abort=1
# 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/WebAssembly/load-ext.ll --check-prefixes=CHECK,FAST
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/load-ext.ll:12:14: error: FAST-NEXT: expected string not found in input
# | ; FAST-NEXT: i32.const $push[[NUM2:[0-9]+]]=, 24
# |              ^
# | <stdin>:17:28: note: scanning from here
# |  i32.load8_u $push1=, 0($0)
# |                            ^
# | <stdin>:18:2: note: possible intended match here
# |  i32.extend8_s $push0=, $pop1
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/load-ext.ll:41:14: error: FAST-NEXT: expected string not found in input
# | ; FAST-NEXT: i32.const $push[[C1:[0-9]+]]=, 16
# |              ^
# | <stdin>:38:29: note: scanning from here
# |  i32.load16_u $push1=, 0($0)
# |                             ^
# | <stdin>:39:7: note: possible intended match here
# |  i32.extend16_s $push0=, $pop1
# |       ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/load-ext.ll:69:14: error: FAST-NEXT: expected string not found in input
# | ; FAST-NEXT: i32.const $push[[C1:[0-9]+]]=, 24
# |              ^
# | <stdin>:59:28: note: scanning from here
# |  i32.load8_u $push2=, 0($0)
# |                            ^
# | <stdin>:60:13: note: possible intended match here
# |  i64.extend_i32_u $push0=, $pop2
# |             ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/load-ext.ll:99:14: error: FAST-NEXT: expected string not found in input
# | ; FAST-NEXT: i32.const $push[[C1:[0-9]+]]=, 16
# |              ^
# | <stdin>:82:29: note: scanning from here
# |  i32.load16_u $push2=, 0($0)
# |                             ^
# | <stdin>:83:13: note: possible intended match here
# |  i64.extend_i32_u $push0=, $pop2
# |             ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WebAssembly/load-ext.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           12:  .section .text.sext_i8_i32,"",@ 
# |           13:  .globl sext_i8_i32 
# |           14:  .type sext_i8_i32, at function 
# |           15: sext_i8_i32: 
# |           16:  .functype sext_i8_i32 (i32) -> (i32) 
# |           17:  i32.load8_u $push1=, 0($0) 
# | next:12'0                                X error: no match found
# |           18:  i32.extend8_s $push0=, $pop1 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12'1      ?                             possible intended match
# |           19:  return $pop0 
# | next:12'0     ~~~~~~~~~~~~~~
# |           20:  end_function 
# | next:12'0     ~~~~~~~~~~~~~~
# |           21:  
# | next:12'0     ~
# |           22:  .section .text.zext_i8_i32,"",@ 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           23:  .globl zext_i8_i32 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           33:  .section .text.sext_i16_i32,"",@ 
# |           34:  .globl sext_i16_i32 
# |           35:  .type sext_i16_i32, at function 
# |           36: sext_i16_i32: 
# |           37:  .functype sext_i16_i32 (i32) -> (i32) 
# |           38:  i32.load16_u $push1=, 0($0) 
# | next:41'0                                 X error: no match found
# |           39:  i32.extend16_s $push0=, $pop1 
# | next:41'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:41'1           ?                         possible intended match
# |           40:  return $pop0 
# | next:41'0     ~~~~~~~~~~~~~~
# |           41:  end_function 
# | next:41'0     ~~~~~~~~~~~~~~
# |           42:  
# | next:41'0     ~
# |           43:  .section .text.zext_i16_i32,"",@ 
# | next:41'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           44:  .globl zext_i16_i32 
# | next:41'0     ~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           54:  .section .text.sext_i8_i64,"",@ 
# |           55:  .globl sext_i8_i64 
# |           56:  .type sext_i8_i64, at function 
# |           57: sext_i8_i64: 
# |           58:  .functype sext_i8_i64 (i32) -> (i64) 
# |           59:  i32.load8_u $push2=, 0($0) 
# | next:69'0                                X error: no match found
# |           60:  i64.extend_i32_u $push0=, $pop2 
# | next:69'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:69'1                 ?                     possible intended match
# |           61:  i64.extend8_s $push1=, $pop0 
# | next:69'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           62:  return $pop1 
# | next:69'0     ~~~~~~~~~~~~~~
# |           63:  end_function 
# | next:69'0     ~~~~~~~~~~~~~~
# |           64:  
# | next:69'0     ~
# |           65:  .section .text.zext_i8_i64,"",@ 
# | next:69'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           77:  .section .text.sext_i16_i64,"",@ 
# |           78:  .globl sext_i16_i64 
# |           79:  .type sext_i16_i64, at function 
# |           80: sext_i16_i64: 
# |           81:  .functype sext_i16_i64 (i32) -> (i64) 
# |           82:  i32.load16_u $push2=, 0($0) 
# | next:99'0                                 X error: no match found
# |           83:  i64.extend_i32_u $push0=, $pop2 
# | next:99'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:99'1                 ?                     possible intended match
# |           84:  i64.extend16_s $push1=, $pop0 
# | next:99'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           85:  return $pop1 
# | next:99'0     ~~~~~~~~~~~~~~
# |           86:  end_function 
# | next:99'0     ~~~~~~~~~~~~~~
# |           87:  
# | next:99'0     ~
# |           88:  .section .text.zext_i16_i64,"",@ 
# | next:99'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# 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/181480


More information about the llvm-commits mailing list