[llvm] [GlobalISel][TableGen] MIR Pattern Variadics (PR #100563)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 23:37:15 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/3675
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: TableGen/GlobalISelCombinerEmitter/variadic-errors.td' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: not /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen -I /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/../../../include -gen-global-isel-combiner -combiners=MyCombiner /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td 2>&1| /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td -implicit-check-not=error:
+ not /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen -I /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/../../../include -gen-global-isel-combiner -combiners=MyCombiner /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td -implicit-check-not=error:
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td:30:11: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: Failed to parse pattern: '(G_BUILD_VECTOR ?:$dst, anonymous_8021:$a)'
[0;1;32m ^
[0m[1m<stdin>:16:248: [0m[0;1;30mnote: [0m[1mscanning from here
[0m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td:31:5: error: cannot parse operand type: minimum number of arguments must be greater than zero in GIVariadic
[0;1;32m ^
[0m[1m<stdin>:16:248: [0m[0;1;30mnote: [0m[1mwith "@LINE+1" equal to "31"
[0m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td:31:5: error: cannot parse operand type: minimum number of arguments must be greater than zero in GIVariadic
[0;1;32m ^
[0m[1m<stdin>:19:139: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td:31:5: error: Failed to parse pattern: '(G_BUILD_VECTOR ?:$dst, anonymous_8022:$a)'
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td[0m:12:5: error: 'G_BUILD_VECTOR': GIVariadic can only be used on the last operand[0;1;46m [0m
[0;1;32mcheck:11'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mcheck:11'1 with "@LINE+1" equal to "12"
[0m[0;1;32mnot:imp1'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mnot:imp1'1 X
[0m[0;1;30m 2: [0m[1m[0;1;46mdef VariadicNotLastInList : GICombineRule< [0m
[0;1;32mnot:imp1'1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46m ^ [0m
[0;1;32mnot:imp1'1 ~~~
[0m[0;1;30m 4: [0m[1m[0;1;46m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td[0m:18:5: error: 'G_IMPLICIT_DEF': GIVariadic cannot be used on defs[0;1;46m [0m
[0;1;32mcheck:17'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mcheck:17'1 with "@LINE+1" equal to "18"
[0m[0;1;32mnot:imp1'1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mnot:imp1'2 X
[0m[0;1;30m 5: [0m[1m[0;1;46mdef VariadicAsDef : GICombineRule< [0m
[0;1;32mnot:imp1'2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 6: [0m[1m[0;1;46m ^ [0m
[0;1;32mnot:imp1'2 ~~~
[0m[0;1;30m 7: [0m[1m[0;1;46m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/GlobalISelCombinerEmitter/variadic-errors.td[0m:24:5: error: conflicting types for operand 'args': 'GIVariadic<2,4>' vs 'GIVariadic<3,6>'[0;1;46m [0m
[0;1;32mcheck:23'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mcheck:23'1 with "@LINE+1" equal to "24"
[0m[0;1;32mnot:imp1'2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
https://github.com/llvm/llvm-project/pull/100563
More information about the llvm-commits
mailing list