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

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 20:49:14 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `llvm` at step 7 "test-build-unified-tree-check-all".

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

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

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

Command Output (stderr):
--
RUN: at line 3: /build/buildbot/premerge-monolithic-linux/build/bin/clang -### /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s -c -o tmp.o -target wasm32-unknown-unknown -Wa,--no-type-check 2>&1 | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang -### /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s -c -o tmp.o -target wasm32-unknown-unknown -Wa,--no-type-check
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s
RUN: at line 7: not /build/buildbot/premerge-monolithic-linux/build/bin/clang /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s -c -o tmp.o -target wasm32-unknown-unknown 2>&1 | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck --check-prefix=ERROR /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck --check-prefix=ERROR /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s
+ not /build/buildbot/premerge-monolithic-linux/build/bin/clang /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s -c -o tmp.o -target wasm32-unknown-unknown
/build/buildbot/premerge-monolithic-linux/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
/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s:13:3: error: type mismatch, expected [i32] but got [i64]
^
<stdin>:1:94: note: possible intended match here
/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s:13:3: error: type mismatch, expected [i32] but got [i64]
                                                                                             ^

Input file: <stdin>
Check file: /build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/notypecheck.s

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

Input was:
<<<<<<
           1: /build/buildbot/premerge-monolithic-linux/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