[llvm] [WebAssembly] Unify type checking in AsmTypeCheck (PR #110094)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 20:00:56 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-clang".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/8771

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-clang) failure: test (failure)
******************** TEST 'Clang :: Driver/notypecheck.s' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -### /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s -c -o tmp.o -target wasm32-unknown-unknown -Wa,--no-type-check 2>&1 | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -### /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s -c -o tmp.o -target wasm32-unknown-unknown -Wa,--no-type-check
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s
RUN: at line 7: not /b/1/llvm-x86_64-debian-dylib/build/bin/clang /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s -c -o tmp.o -target wasm32-unknown-unknown 2>&1 | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck --check-prefix=ERROR /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s
+ not /b/1/llvm-x86_64-debian-dylib/build/bin/clang /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s -c -o tmp.o -target wasm32-unknown-unknown
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck --check-prefix=ERROR /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s:8:10: error: ERROR: expected string not found in input
# ERROR: error: popped i64, expected i32
         ^
<stdin>:1:1: note: scanning from here
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s:13:3: error: type mismatch, expected [i32] but got [i64]
^
<stdin>:1:82: note: possible intended match here
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s:13:3: error: type mismatch, expected [i32] but got [i64]
                                                                                 ^

Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: /b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/notypecheck.s:13:3: error: type mismatch, expected [i32] but got [i64] 
check:8'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:8'1                                                                                      ?                                                   possible intended match
           2:  end_function 
check:8'0     ~~~~~~~~~~~~~~
           3:  ^ 
check:8'0     ~~~
>>>>>>

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/110094


More information about the llvm-commits mailing list