[clang] [llvm] [PowerPC] Add Support for BCDSHIFT, BCDSHIFTR, BCDTRUNC, BCDUTRUNC, and BCDUSHIFT instruction support (PR #154715)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 27 22:47:57 PST 2025


github-actions[bot] wrote:

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

* 3053 tests passed
* 7 tests skipped

All tests passed but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCFastISel.cpp.o</summary>

```
FAILED: lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCFastISel.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -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  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCFastISel.cpp.o -MF lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCFastISel.cpp.o.d -o lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCFastISel.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:16:3: error: redefinition of enumerator 'ACC_BUILD'
16 |   ACC_BUILD = ISD::BUILTIN_OP_END,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:464:5: note: previous definition is here
464 |     ACC_BUILD,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:17:3: error: redefinition of enumerator 'ADDC'
17 |   ADDC,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:165:5: note: previous definition is here
165 |     ADDC,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:18:3: error: redefinition of enumerator 'ADDE'
18 |   ADDE,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:166:5: note: previous definition is here
166 |     ADDE,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:19:3: error: redefinition of enumerator 'ADDIS_DTPREL_HA'
19 |   ADDIS_DTPREL_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:416:5: note: previous definition is here
416 |     ADDIS_DTPREL_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:20:3: error: redefinition of enumerator 'ADDIS_GOT_TPREL_HA'
20 |   ADDIS_GOT_TPREL_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:330:5: note: previous definition is here
330 |     ADDIS_GOT_TPREL_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:21:3: error: redefinition of enumerator 'ADDIS_TLSGD_HA'
21 |   ADDIS_TLSGD_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:349:5: note: previous definition is here
349 |     ADDIS_TLSGD_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:22:3: error: redefinition of enumerator 'ADDIS_TLSLD_HA'
22 |   ADDIS_TLSLD_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:395:5: note: previous definition is here
395 |     ADDIS_TLSLD_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:23:3: error: redefinition of enumerator 'ADDI_DTPREL_L'
23 |   ADDI_DTPREL_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:421:5: note: previous definition is here
421 |     ADDI_DTPREL_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:24:3: error: redefinition of enumerator 'ADDI_TLSGD_L'
24 |   ADDI_TLSGD_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:355:5: note: previous definition is here
355 |     ADDI_TLSGD_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:25:3: error: redefinition of enumerator 'ADDI_TLSGD_L_ADDR'
25 |   ADDI_TLSGD_L_ADDR,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:370:5: note: previous definition is here
370 |     ADDI_TLSGD_L_ADDR,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:26:3: error: redefinition of enumerator 'ADDI_TLSLD_L'
26 |   ADDI_TLSLD_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:401:5: note: previous definition is here
401 |     ADDI_TLSLD_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:27:3: error: redefinition of enumerator 'ADDI_TLSLD_L_ADDR'
27 |   ADDI_TLSLD_L_ADDR,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:411:5: note: previous definition is here
411 |     ADDI_TLSLD_L_ADDR,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:28:3: error: redefinition of enumerator 'ADD_TLS'
28 |   ADD_TLS,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:344:5: note: previous definition is here
344 |     ADD_TLS,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:29:3: error: redefinition of enumerator 'ATOMIC_CMP_SWAP_16'
29 |   ATOMIC_CMP_SWAP_16,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:595:5: note: previous definition is here
595 |     ATOMIC_CMP_SWAP_16,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:30:3: error: redefinition of enumerator 'ATOMIC_CMP_SWAP_8'
30 |   ATOMIC_CMP_SWAP_8,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:594:5: note: previous definition is here
594 |     ATOMIC_CMP_SWAP_8,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:31:3: error: redefinition of enumerator 'BCDSHIFT'
31 |   BCDSHIFT,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:610:5: note: previous definition is here
610 |     BCDSHIFT,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:32:3: error: redefinition of enumerator 'BCDSHIFTROUND'
32 |   BCDSHIFTROUND,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:614:5: note: previous definition is here
614 |     BCDSHIFTROUND,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:33:3: error: redefinition of enumerator 'BCDTRUNC'
33 |   BCDTRUNC,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:618:5: note: previous definition is here
618 |     BCDTRUNC,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCFastISel.cpp:20:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:34:3: error: redefinition of enumerator 'BCDUSHIFT'
34 |   BCDUSHIFT,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:626:5: note: previous definition is here
626 |     BCDUSHIFT,
|     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelLowering.cpp.o</summary>

```
FAILED: lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelLowering.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -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  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelLowering.cpp.o -MF lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelLowering.cpp.o.d -o lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelLowering.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:16:3: error: redefinition of enumerator 'ACC_BUILD'
16 |   ACC_BUILD = ISD::BUILTIN_OP_END,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:464:5: note: previous definition is here
464 |     ACC_BUILD,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:17:3: error: redefinition of enumerator 'ADDC'
17 |   ADDC,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:165:5: note: previous definition is here
165 |     ADDC,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:18:3: error: redefinition of enumerator 'ADDE'
18 |   ADDE,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:166:5: note: previous definition is here
166 |     ADDE,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:19:3: error: redefinition of enumerator 'ADDIS_DTPREL_HA'
19 |   ADDIS_DTPREL_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:416:5: note: previous definition is here
416 |     ADDIS_DTPREL_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:20:3: error: redefinition of enumerator 'ADDIS_GOT_TPREL_HA'
20 |   ADDIS_GOT_TPREL_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:330:5: note: previous definition is here
330 |     ADDIS_GOT_TPREL_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:21:3: error: redefinition of enumerator 'ADDIS_TLSGD_HA'
21 |   ADDIS_TLSGD_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:349:5: note: previous definition is here
349 |     ADDIS_TLSGD_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:22:3: error: redefinition of enumerator 'ADDIS_TLSLD_HA'
22 |   ADDIS_TLSLD_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:395:5: note: previous definition is here
395 |     ADDIS_TLSLD_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:23:3: error: redefinition of enumerator 'ADDI_DTPREL_L'
23 |   ADDI_DTPREL_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:421:5: note: previous definition is here
421 |     ADDI_DTPREL_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:24:3: error: redefinition of enumerator 'ADDI_TLSGD_L'
24 |   ADDI_TLSGD_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:355:5: note: previous definition is here
355 |     ADDI_TLSGD_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:25:3: error: redefinition of enumerator 'ADDI_TLSGD_L_ADDR'
25 |   ADDI_TLSGD_L_ADDR,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:370:5: note: previous definition is here
370 |     ADDI_TLSGD_L_ADDR,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:26:3: error: redefinition of enumerator 'ADDI_TLSLD_L'
26 |   ADDI_TLSLD_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:401:5: note: previous definition is here
401 |     ADDI_TLSLD_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:27:3: error: redefinition of enumerator 'ADDI_TLSLD_L_ADDR'
27 |   ADDI_TLSLD_L_ADDR,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:411:5: note: previous definition is here
411 |     ADDI_TLSLD_L_ADDR,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:28:3: error: redefinition of enumerator 'ADD_TLS'
28 |   ADD_TLS,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:344:5: note: previous definition is here
344 |     ADD_TLS,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:29:3: error: redefinition of enumerator 'ATOMIC_CMP_SWAP_16'
29 |   ATOMIC_CMP_SWAP_16,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:595:5: note: previous definition is here
595 |     ATOMIC_CMP_SWAP_16,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:30:3: error: redefinition of enumerator 'ATOMIC_CMP_SWAP_8'
30 |   ATOMIC_CMP_SWAP_8,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:594:5: note: previous definition is here
594 |     ATOMIC_CMP_SWAP_8,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:31:3: error: redefinition of enumerator 'BCDSHIFT'
31 |   BCDSHIFT,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:610:5: note: previous definition is here
610 |     BCDSHIFT,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:32:3: error: redefinition of enumerator 'BCDSHIFTROUND'
32 |   BCDSHIFTROUND,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:614:5: note: previous definition is here
614 |     BCDSHIFTROUND,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:33:3: error: redefinition of enumerator 'BCDTRUNC'
33 |   BCDTRUNC,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:618:5: note: previous definition is here
618 |     BCDTRUNC,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:23:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:34:3: error: redefinition of enumerator 'BCDUSHIFT'
34 |   BCDUSHIFT,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:626:5: note: previous definition is here
626 |     BCDUSHIFT,
|     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCSubtarget.cpp.o</summary>

```
FAILED: lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCSubtarget.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -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  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCSubtarget.cpp.o -MF lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCSubtarget.cpp.o.d -o lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCSubtarget.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:16:3: error: redefinition of enumerator 'ACC_BUILD'
16 |   ACC_BUILD = ISD::BUILTIN_OP_END,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:464:5: note: previous definition is here
464 |     ACC_BUILD,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:17:3: error: redefinition of enumerator 'ADDC'
17 |   ADDC,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:165:5: note: previous definition is here
165 |     ADDC,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:18:3: error: redefinition of enumerator 'ADDE'
18 |   ADDE,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:166:5: note: previous definition is here
166 |     ADDE,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:19:3: error: redefinition of enumerator 'ADDIS_DTPREL_HA'
19 |   ADDIS_DTPREL_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:416:5: note: previous definition is here
416 |     ADDIS_DTPREL_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:20:3: error: redefinition of enumerator 'ADDIS_GOT_TPREL_HA'
20 |   ADDIS_GOT_TPREL_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:330:5: note: previous definition is here
330 |     ADDIS_GOT_TPREL_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:21:3: error: redefinition of enumerator 'ADDIS_TLSGD_HA'
21 |   ADDIS_TLSGD_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:349:5: note: previous definition is here
349 |     ADDIS_TLSGD_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:22:3: error: redefinition of enumerator 'ADDIS_TLSLD_HA'
22 |   ADDIS_TLSLD_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:395:5: note: previous definition is here
395 |     ADDIS_TLSLD_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:23:3: error: redefinition of enumerator 'ADDI_DTPREL_L'
23 |   ADDI_DTPREL_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:421:5: note: previous definition is here
421 |     ADDI_DTPREL_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:24:3: error: redefinition of enumerator 'ADDI_TLSGD_L'
24 |   ADDI_TLSGD_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:355:5: note: previous definition is here
355 |     ADDI_TLSGD_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:25:3: error: redefinition of enumerator 'ADDI_TLSGD_L_ADDR'
25 |   ADDI_TLSGD_L_ADDR,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:370:5: note: previous definition is here
370 |     ADDI_TLSGD_L_ADDR,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:26:3: error: redefinition of enumerator 'ADDI_TLSLD_L'
26 |   ADDI_TLSLD_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:401:5: note: previous definition is here
401 |     ADDI_TLSLD_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:27:3: error: redefinition of enumerator 'ADDI_TLSLD_L_ADDR'
27 |   ADDI_TLSLD_L_ADDR,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:411:5: note: previous definition is here
411 |     ADDI_TLSLD_L_ADDR,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:28:3: error: redefinition of enumerator 'ADD_TLS'
28 |   ADD_TLS,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:344:5: note: previous definition is here
344 |     ADD_TLS,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:29:3: error: redefinition of enumerator 'ATOMIC_CMP_SWAP_16'
29 |   ATOMIC_CMP_SWAP_16,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:595:5: note: previous definition is here
595 |     ATOMIC_CMP_SWAP_16,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:30:3: error: redefinition of enumerator 'ATOMIC_CMP_SWAP_8'
30 |   ATOMIC_CMP_SWAP_8,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:594:5: note: previous definition is here
594 |     ATOMIC_CMP_SWAP_8,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:31:3: error: redefinition of enumerator 'BCDSHIFT'
31 |   BCDSHIFT,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:610:5: note: previous definition is here
610 |     BCDSHIFT,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:32:3: error: redefinition of enumerator 'BCDSHIFTROUND'
32 |   BCDSHIFTROUND,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:614:5: note: previous definition is here
614 |     BCDSHIFTROUND,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:33:3: error: redefinition of enumerator 'BCDTRUNC'
33 |   BCDTRUNC,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:618:5: note: previous definition is here
618 |     BCDTRUNC,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSubtarget.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:34:3: error: redefinition of enumerator 'BCDUSHIFT'
34 |   BCDUSHIFT,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:626:5: note: previous definition is here
626 |     BCDUSHIFT,
|     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelDAGToDAG.cpp.o</summary>

```
FAILED: lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelDAGToDAG.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -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  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelDAGToDAG.cpp.o -MF lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelDAGToDAG.cpp.o.d -o lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCISelDAGToDAG.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:16:3: error: redefinition of enumerator 'ACC_BUILD'
16 |   ACC_BUILD = ISD::BUILTIN_OP_END,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:464:5: note: previous definition is here
464 |     ACC_BUILD,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:17:3: error: redefinition of enumerator 'ADDC'
17 |   ADDC,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:165:5: note: previous definition is here
165 |     ADDC,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:18:3: error: redefinition of enumerator 'ADDE'
18 |   ADDE,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:166:5: note: previous definition is here
166 |     ADDE,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:19:3: error: redefinition of enumerator 'ADDIS_DTPREL_HA'
19 |   ADDIS_DTPREL_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:416:5: note: previous definition is here
416 |     ADDIS_DTPREL_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:20:3: error: redefinition of enumerator 'ADDIS_GOT_TPREL_HA'
20 |   ADDIS_GOT_TPREL_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:330:5: note: previous definition is here
330 |     ADDIS_GOT_TPREL_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:21:3: error: redefinition of enumerator 'ADDIS_TLSGD_HA'
21 |   ADDIS_TLSGD_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:349:5: note: previous definition is here
349 |     ADDIS_TLSGD_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:22:3: error: redefinition of enumerator 'ADDIS_TLSLD_HA'
22 |   ADDIS_TLSLD_HA,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:395:5: note: previous definition is here
395 |     ADDIS_TLSLD_HA,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:23:3: error: redefinition of enumerator 'ADDI_DTPREL_L'
23 |   ADDI_DTPREL_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:421:5: note: previous definition is here
421 |     ADDI_DTPREL_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:24:3: error: redefinition of enumerator 'ADDI_TLSGD_L'
24 |   ADDI_TLSGD_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:355:5: note: previous definition is here
355 |     ADDI_TLSGD_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:25:3: error: redefinition of enumerator 'ADDI_TLSGD_L_ADDR'
25 |   ADDI_TLSGD_L_ADDR,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:370:5: note: previous definition is here
370 |     ADDI_TLSGD_L_ADDR,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:26:3: error: redefinition of enumerator 'ADDI_TLSLD_L'
26 |   ADDI_TLSLD_L,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:401:5: note: previous definition is here
401 |     ADDI_TLSLD_L,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:27:3: error: redefinition of enumerator 'ADDI_TLSLD_L_ADDR'
27 |   ADDI_TLSLD_L_ADDR,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:411:5: note: previous definition is here
411 |     ADDI_TLSLD_L_ADDR,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:28:3: error: redefinition of enumerator 'ADD_TLS'
28 |   ADD_TLS,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:344:5: note: previous definition is here
344 |     ADD_TLS,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:29:3: error: redefinition of enumerator 'ATOMIC_CMP_SWAP_16'
29 |   ATOMIC_CMP_SWAP_16,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:595:5: note: previous definition is here
595 |     ATOMIC_CMP_SWAP_16,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:30:3: error: redefinition of enumerator 'ATOMIC_CMP_SWAP_8'
30 |   ATOMIC_CMP_SWAP_8,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:594:5: note: previous definition is here
594 |     ATOMIC_CMP_SWAP_8,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:31:3: error: redefinition of enumerator 'BCDSHIFT'
31 |   BCDSHIFT,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:610:5: note: previous definition is here
610 |     BCDSHIFT,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:32:3: error: redefinition of enumerator 'BCDSHIFTROUND'
32 |   BCDSHIFTROUND,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:614:5: note: previous definition is here
614 |     BCDSHIFTROUND,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:33:3: error: redefinition of enumerator 'BCDTRUNC'
33 |   BCDTRUNC,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:618:5: note: previous definition is here
618 |     BCDTRUNC,
|     ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:15:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSDNodeInfo.inc:34:3: error: redefinition of enumerator 'BCDUSHIFT'
34 |   BCDUSHIFT,
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.h:626:5: note: previous definition is here
626 |     BCDUSHIFT,
|     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 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/154715


More information about the llvm-commits mailing list