[llvm] [NFC][TableGen] Minor code cleanup in RegisterInfoEmitter (PR #181479)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 14 06:37:05 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3112 tests passed
* 7 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AVR -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRRegisterInfo.cpp.o -MF lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRRegisterInfo.cpp.o.d -o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AVR/AVRRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AVR/AVRRegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR/AVRGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR/AVRGenRegisterInfoTargetDesc.inc:1177:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1177 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR/AVRGenRegisterInfoTargetDesc.inc:1180:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1180 | assert(Idx < 2 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR/AVRGenRegisterInfoTargetDesc.inc:1319:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1319 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR/AVRGenRegisterInfoTargetDesc.inc:1322:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1322 | assert(Idx < 2 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AVR/AVRRegisterInfo.cpp:28:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR/AVRGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AVR/AVRRegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR/AVRGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AVR/AVRGenRegisterInfoTargetDesc.inc:1177:3: error: unterminated function-like macro invocation
1177 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/BPF/CMakeFiles/LLVMBPFCodeGen.dir/BPFRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/BPF/CMakeFiles/LLVMBPFCodeGen.dir/BPFRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/BPF -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/BPF/CMakeFiles/LLVMBPFCodeGen.dir/BPFRegisterInfo.cpp.o -MF lib/Target/BPF/CMakeFiles/LLVMBPFCodeGen.dir/BPFRegisterInfo.cpp.o.d -o lib/Target/BPF/CMakeFiles/LLVMBPFCodeGen.dir/BPFRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/BPF/BPFRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/BPF/BPFRegisterInfo.cpp:26:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF/BPFGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF/BPFGenRegisterInfoTargetDesc.inc:175:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
175 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF/BPFGenRegisterInfoTargetDesc.inc:178:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
178 | assert(Idx < 1 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF/BPFGenRegisterInfoTargetDesc.inc:191:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
191 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF/BPFGenRegisterInfoTargetDesc.inc:194:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
194 | assert(Idx < 1 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/BPF/BPFRegisterInfo.cpp:26:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF/BPFGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/BPF/BPFRegisterInfo.cpp:26:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF/BPFGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/BPF/BPFGenRegisterInfoTargetDesc.inc:175:3: error: unterminated function-like macro invocation
175 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/ARMBaseRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/ARMBaseRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/ARMBaseRegisterInfo.cpp.o -MF lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/ARMBaseRegisterInfo.cpp.o.d -o lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/ARMBaseRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp:53:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM/ARMGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM/ARMGenRegisterInfoTargetDesc.inc:13464:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
13464 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM/ARMGenRegisterInfoTargetDesc.inc:13467:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
13467 | assert(Idx < 56 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM/ARMGenRegisterInfoTargetDesc.inc:21420:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
21420 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM/ARMGenRegisterInfoTargetDesc.inc:21423:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
21423 | assert(Idx < 56 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp:53:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM/ARMGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp:840:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
840 | #ifndef NDEBUG
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp:849:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
849 | #endif // NDEBUG
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp:53:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM/ARMGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/ARM/ARMGenRegisterInfoTargetDesc.inc:13464:3: error: unterminated function-like macro invocation
13464 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
8 errors generated.
```
</details>
<details>
<summary>lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Hexagon -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonRegisterInfo.cpp.o -MF lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonRegisterInfo.cpp.o.d -o lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp:38:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon/HexagonGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon/HexagonGenRegisterInfoTargetDesc.inc:1313:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1313 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon/HexagonGenRegisterInfoTargetDesc.inc:1316:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1316 | assert(Idx < 11 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon/HexagonGenRegisterInfoTargetDesc.inc:1700:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1700 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon/HexagonGenRegisterInfoTargetDesc.inc:1703:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1703 | assert(Idx < 11 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp:38:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon/HexagonGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp:104:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
104 | #ifndef NDEBUG
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp:106:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
106 | #endif
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp:38:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon/HexagonGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Hexagon/HexagonGenRegisterInfoTargetDesc.inc:1313:3: error: unterminated function-like macro invocation
1313 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
8 errors generated.
```
</details>
<details>
<summary>lib/Target/Lanai/CMakeFiles/LLVMLanaiCodeGen.dir/LanaiRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/Lanai/CMakeFiles/LLVMLanaiCodeGen.dir/LanaiRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Lanai -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/Lanai/CMakeFiles/LLVMLanaiCodeGen.dir/LanaiRegisterInfo.cpp.o -MF lib/Target/Lanai/CMakeFiles/LLVMLanaiCodeGen.dir/LanaiRegisterInfo.cpp.o.d -o lib/Target/Lanai/CMakeFiles/LLVMLanaiCodeGen.dir/LanaiRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Lanai/LanaiRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Lanai/LanaiRegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai/LanaiGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai/LanaiGenRegisterInfoTargetDesc.inc:201:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
201 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai/LanaiGenRegisterInfoTargetDesc.inc:204:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
204 | assert(Idx < 1 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai/LanaiGenRegisterInfoTargetDesc.inc:220:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
220 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai/LanaiGenRegisterInfoTargetDesc.inc:223:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
223 | assert(Idx < 1 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Lanai/LanaiRegisterInfo.cpp:28:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai/LanaiGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Lanai/LanaiRegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai/LanaiGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Lanai/LanaiGenRegisterInfoTargetDesc.inc:201:3: error: unterminated function-like macro invocation
201 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/LoongArch -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchRegisterInfo.cpp.o -MF lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchRegisterInfo.cpp.o.d -o lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/LoongArch/LoongArchRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/LoongArch/LoongArchRegisterInfo.cpp:31:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch/LoongArchGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch/LoongArchGenRegisterInfoTargetDesc.inc:451:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
451 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch/LoongArchGenRegisterInfoTargetDesc.inc:454:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
454 | assert(Idx < 3 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch/LoongArchGenRegisterInfoTargetDesc.inc:516:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
516 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch/LoongArchGenRegisterInfoTargetDesc.inc:519:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
519 | assert(Idx < 3 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/LoongArch/LoongArchRegisterInfo.cpp:31:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch/LoongArchGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/LoongArch/LoongArchRegisterInfo.cpp:31:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch/LoongArchGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/LoongArch/LoongArchGenRegisterInfoTargetDesc.inc:451:3: error: unterminated function-like macro invocation
451 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/MSP430/CMakeFiles/LLVMMSP430CodeGen.dir/MSP430RegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/MSP430/CMakeFiles/LLVMMSP430CodeGen.dir/MSP430RegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/MSP430 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/MSP430/CMakeFiles/LLVMMSP430CodeGen.dir/MSP430RegisterInfo.cpp.o -MF lib/Target/MSP430/CMakeFiles/LLVMMSP430CodeGen.dir/MSP430RegisterInfo.cpp.o.d -o lib/Target/MSP430/CMakeFiles/LLVMMSP430CodeGen.dir/MSP430RegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430/MSP430GenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430/MSP430GenRegisterInfoTargetDesc.inc:175:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
175 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430/MSP430GenRegisterInfoTargetDesc.inc:178:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
178 | assert(Idx < 1 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430/MSP430GenRegisterInfoTargetDesc.inc:191:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
191 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430/MSP430GenRegisterInfoTargetDesc.inc:194:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
194 | assert(Idx < 1 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp:28:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430/MSP430GenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430/MSP430GenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/MSP430/MSP430GenRegisterInfoTargetDesc.inc:175:3: error: unterminated function-like macro invocation
175 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/MipsRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/MipsRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Mips -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/MipsRegisterInfo.cpp.o -MF lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/MipsRegisterInfo.cpp.o.d -o lib/Target/Mips/CMakeFiles/LLVMMipsCodeGen.dir/MipsRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Mips/MipsRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Mips/MipsRegisterInfo.cpp:38:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips/MipsGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips/MipsGenRegisterInfoTargetDesc.inc:3048:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
3048 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips/MipsGenRegisterInfoTargetDesc.inc:3051:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
3051 | assert(Idx < 11 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips/MipsGenRegisterInfoTargetDesc.inc:3981:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
3981 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips/MipsGenRegisterInfoTargetDesc.inc:3984:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
3984 | assert(Idx < 11 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Mips/MipsRegisterInfo.cpp:38:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips/MipsGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Mips/MipsRegisterInfo.cpp:38:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips/MipsGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Mips/MipsGenRegisterInfoTargetDesc.inc:3048:3: error: unterminated function-like macro invocation
3048 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCRegisterInfo.cpp.o -MF lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCRegisterInfo.cpp.o.d -o lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:48:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenRegisterInfoTargetDesc.inc:5272:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
5272 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenRegisterInfoTargetDesc.inc:5275:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
5275 | assert(Idx < 55 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenRegisterInfoTargetDesc.inc:8474:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
8474 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenRegisterInfoTargetDesc.inc:8477:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
8477 | assert(Idx < 55 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:48:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:84:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
84 | #ifndef NDEBUG
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:90:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
90 | #endif
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1220:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1220 | #ifdef NDEBUG
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1229:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1229 | #endif
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1234:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1234 | #ifdef NDEBUG
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1242:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1242 | #endif
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1294:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1294 | #ifdef NDEBUG
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1302:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1302 | #endif
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:48:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenRegisterInfoTargetDesc.inc:5272:3: error: unterminated function-like macro invocation
5272 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
14 errors generated.
```
</details>
<details>
<summary>lib/Target/Sparc/CMakeFiles/LLVMSparcCodeGen.dir/SparcRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/Sparc/CMakeFiles/LLVMSparcCodeGen.dir/SparcRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Sparc -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/Sparc/CMakeFiles/LLVMSparcCodeGen.dir/SparcRegisterInfo.cpp.o -MF lib/Target/Sparc/CMakeFiles/LLVMSparcCodeGen.dir/SparcRegisterInfo.cpp.o.d -o lib/Target/Sparc/CMakeFiles/LLVMSparcCodeGen.dir/SparcRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Sparc/SparcRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Sparc/SparcRegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc/SparcGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc/SparcGenRegisterInfoTargetDesc.inc:817:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
817 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc/SparcGenRegisterInfoTargetDesc.inc:820:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
820 | assert(Idx < 6 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc/SparcGenRegisterInfoTargetDesc.inc:987:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
987 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc/SparcGenRegisterInfoTargetDesc.inc:990:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
990 | assert(Idx < 6 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Sparc/SparcRegisterInfo.cpp:28:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc/SparcGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/Sparc/SparcRegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc/SparcGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/Sparc/SparcGenRegisterInfoTargetDesc.inc:817:3: error: unterminated function-like macro invocation
817 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/SystemZ/CMakeFiles/LLVMSystemZCodeGen.dir/SystemZRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/SystemZ/CMakeFiles/LLVMSystemZCodeGen.dir/SystemZRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/SystemZ/CMakeFiles/LLVMSystemZCodeGen.dir/SystemZRegisterInfo.cpp.o -MF lib/Target/SystemZ/CMakeFiles/LLVMSystemZCodeGen.dir/SystemZRegisterInfo.cpp.o.d -o lib/Target/SystemZ/CMakeFiles/LLVMSystemZCodeGen.dir/SystemZRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenRegisterInfoTargetDesc.inc:1380:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1380 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenRegisterInfoTargetDesc.inc:1383:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1383 | assert(Idx < 8 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenRegisterInfoTargetDesc.inc:1630:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1630 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenRegisterInfoTargetDesc.inc:1633:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1633 | assert(Idx < 8 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp:23:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenRegisterInfoTargetDesc.inc:1380:3: error: unterminated function-like macro invocation
1380 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VERegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VERegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/VE -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VERegisterInfo.cpp.o -MF lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VERegisterInfo.cpp.o.d -o lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VERegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/VE/VERegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/VE/VERegisterInfo.cpp:29:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE/VEGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE/VEGenRegisterInfoTargetDesc.inc:486:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
486 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE/VEGenRegisterInfoTargetDesc.inc:489:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
489 | assert(Idx < 8 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE/VEGenRegisterInfoTargetDesc.inc:596:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
596 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE/VEGenRegisterInfoTargetDesc.inc:599:22: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
599 | assert(Idx < 8 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/VE/VERegisterInfo.cpp:29:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE/VEGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/VE/VERegisterInfo.cpp:104:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
104 | #define RRCAS_multi_cases(NAME) NAME##rir : case NAME##rii
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/VE/VERegisterInfo.cpp:119:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
119 | #undef RRCAS_multi_cases
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/VE/VERegisterInfo.cpp:29:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE/VEGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/VE/VEGenRegisterInfoTargetDesc.inc:486:3: error: unterminated function-like macro invocation
486 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
8 errors generated.
```
</details>
<details>
<summary>lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64RegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64RegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AArch64 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64RegisterInfo.cpp.o -MF lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64RegisterInfo.cpp.o.d -o lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64RegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp:41:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64/AArch64GenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64/AArch64GenRegisterInfoTargetDesc.inc:94914:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
94914 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64/AArch64GenRegisterInfoTargetDesc.inc:94917:24: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
94917 | assert(Idx < 143 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64/AArch64GenRegisterInfoTargetDesc.inc:171774:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
171774 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64/AArch64GenRegisterInfoTargetDesc.inc:171777:24: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
171777 | assert(Idx < 143 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp:41:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64/AArch64GenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp:41:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64/AArch64GenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AArch64/AArch64GenRegisterInfoTargetDesc.inc:94914:3: error: unterminated function-like macro invocation
94914 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRegisterInfo.cpp.o -MF lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRegisterInfo.cpp.o.d -o lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV/RISCVGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV/RISCVGenRegisterInfoTargetDesc.inc:13849:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
13849 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV/RISCVGenRegisterInfoTargetDesc.inc:13852:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
13852 | assert(Idx < 57 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV/RISCVGenRegisterInfoTargetDesc.inc:22768:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
22768 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV/RISCVGenRegisterInfoTargetDesc.inc:22771:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
22771 | assert(Idx < 57 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp:28:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV/RISCVGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp:28:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV/RISCVGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/RISCV/RISCVGenRegisterInfoTargetDesc.inc:13849:3: error: unterminated function-like macro invocation
13849 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86RegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86RegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/X86 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86RegisterInfo.cpp.o -MF lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86RegisterInfo.cpp.o.d -o lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86RegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/X86/X86RegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/X86/X86RegisterInfo.cpp:41:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86/X86GenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86/X86GenRegisterInfoTargetDesc.inc:6325:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
6325 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86/X86GenRegisterInfoTargetDesc.inc:6328:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
6328 | assert(Idx < 10 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86/X86GenRegisterInfoTargetDesc.inc:7955:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
7955 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86/X86GenRegisterInfoTargetDesc.inc:7958:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
7958 | assert(Idx < 10 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/X86/X86RegisterInfo.cpp:41:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86/X86GenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/X86/X86RegisterInfo.cpp:1161:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1161 | #define DEBUG_TYPE "tile-hint"
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/X86/X86RegisterInfo.cpp:1169:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1169 | #undef DEBUG_TYPE
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/X86/X86RegisterInfo.cpp:41:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86/X86GenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/X86/X86GenRegisterInfoTargetDesc.inc:6325:3: error: unterminated function-like macro invocation
6325 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
8 errors generated.
```
</details>
<details>
<summary>lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/R600RegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/R600RegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/R600RegisterInfo.cpp.o -MF lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/R600RegisterInfo.cpp.o.d -o lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/R600RegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/R600RegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/R600RegisterInfo.cpp:22:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/R600GenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/R600GenRegisterInfoTargetDesc.inc:1752:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1752 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/R600GenRegisterInfoTargetDesc.inc:1755:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
1755 | assert(Idx < 16 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/R600GenRegisterInfoTargetDesc.inc:2428:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
2428 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/R600GenRegisterInfoTargetDesc.inc:2431:23: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
2431 | assert(Idx < 16 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/R600RegisterInfo.cpp:22:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/R600GenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/R600RegisterInfo.cpp:22:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/R600GenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/R600GenRegisterInfoTargetDesc.inc:1752:3: error: unterminated function-like macro invocation
1752 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
6 errors generated.
```
</details>
<details>
<summary>lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIRegisterInfo.cpp.o</summary>
```
FAILED: lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIRegisterInfo.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIRegisterInfo.cpp.o -MF lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIRegisterInfo.cpp.o.d -o lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/SIRegisterInfo.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:30:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfoTargetDesc.inc:415289:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
415289 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfoTargetDesc.inc:415292:24: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
415292 | assert(Idx < 399 && \"Bad subreg\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfoTargetDesc.inc:774595:17: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
774595 | assert(RC && \"Missing regclass\");
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfoTargetDesc.inc:774598:24: error: missing terminating '"' character [-Werror,-Winvalid-pp-token]
774598 | assert(Idx < 399 && \"Bad subreg\");
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:30:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfo.inc:27:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
27 | #endif // GET_REGINFO_TARGET_DESC
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1044:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1044 | #ifndef NDEBUG
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1055:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1055 | #endif
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1076:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1076 | #ifndef NDEBUG
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1079:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
1079 | #endif
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:30:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfo.inc:25:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/AMDGPU/AMDGPUGenRegisterInfoTargetDesc.inc:415289:3: error: unterminated function-like macro invocation
415289 | assert(RC && \"Missing regclass\");
| ^
/usr/include/assert.h:102:11: note: macro 'assert' defined here
102 | # define assert(expr) \
| ^
10 errors generated.
```
</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/181479
More information about the llvm-commits
mailing list