[llvm] [PowerPC] Add bctar instruction (ISA 2.07) (PR #187322)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 09:48:01 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>[code=1] lib/Target/PowerPC/PPCGenSubtargetInfo.inc C:/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSubtargetInfo.inc</summary>
```
FAILED: [code=1] lib/Target/PowerPC/PPCGenSubtargetInfo.inc C:/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSubtargetInfo.inc
C:\Windows\system32\cmd.exe /C "cd /D C:\_work\llvm-project\llvm-project\build\lib\Target\PowerPC && C:\_work\llvm-project\llvm-project\build\bin\llvm-tblgen.exe -gen-subtarget -IC:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC -IC:/_work/llvm-project/llvm-project/build/include -IC:/_work/llvm-project/llvm-project/llvm/include -I C:/_work/llvm-project/llvm-project/llvm/lib/Target --long-string-literals=0 C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td --write-if-changed -o PPCGenSubtargetInfo.inc -d PPCGenSubtargetInfo.inc.d && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E cmake_transform_depfile Ninja gccdepfile C:/_work/llvm-project/llvm-project/llvm C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC C:/_work/llvm-project/llvm-project/build C:/_work/llvm-project/llvm-project/build/lib/Target/PowerPC C:/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenSubtargetInfo.inc.d C:/_work/llvm-project/llvm-project/build/CMakeFiles/d/827297a612b61c0a67b1158f87118b6cc8da85b1edbe9d8246a1d1ec0f40d3ab.d"
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:1598:11: error: 'P10Model' lacks information for 'BCCTAR'
def BCCTAR : XLForm_2_br<19, 560, 0, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:3758:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstr64Bit.td:163:13: error: 'P10Model' lacks information for 'BCCTAR8'
def BCCTAR8 : XLForm_2_br<19, 560, 0, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:1605:11: error: 'P10Model' lacks information for 'BCCTARL'
def BCCTARL : XLForm_2_br<19, 560, 1, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:3758:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstr64Bit.td:177:13: error: 'P10Model' lacks information for 'BCCTARL8'
def BCCTARL8 : XLForm_2_br<19, 560, 1, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:5261:9: error: 'P10Model' lacks information for 'gBCTAR'
def gBCTAR : XLForm_2<19, 560, 0, (outs),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:5265:9: error: 'P10Model' lacks information for 'gBCTARL'
def gBCTARL : XLForm_2<19, 560, 1, (outs),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:1598:11: error: 'P9Model' lacks information for 'BCCTAR'
def BCCTAR : XLForm_2_br<19, 560, 0, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:3758:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstr64Bit.td:163:13: error: 'P9Model' lacks information for 'BCCTAR8'
def BCCTAR8 : XLForm_2_br<19, 560, 0, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:1605:11: error: 'P9Model' lacks information for 'BCCTARL'
def BCCTARL : XLForm_2_br<19, 560, 1, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:3758:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstr64Bit.td:177:13: error: 'P9Model' lacks information for 'BCCTARL8'
def BCCTARL8 : XLForm_2_br<19, 560, 1, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:5261:9: error: 'P9Model' lacks information for 'gBCTAR'
def gBCTAR : XLForm_2<19, 560, 0, (outs),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:5265:9: error: 'P9Model' lacks information for 'gBCTARL'
def gBCTARL : XLForm_2<19, 560, 1, (outs),
^
Incomplete schedule models found.
- Consider setting 'CompleteModel = 0' while developing new models.
- Pseudo instructions can be marked with 'hasNoSchedulingInfo = 1'.
- Instructions should usually have Sched<[...]> as a superclass, you may temporarily use an empty list.
- Instructions related to unsupported features can be excluded with list<Predicate> UnsupportedFeatures = [HasA,..,HasY]; in the processor model.
error: Incomplete schedule model
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0. Program arguments: C:\\_work\\llvm-project\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-subtarget -IC:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC -IC:/_work/llvm-project/llvm-project/build/include -IC:/_work/llvm-project/llvm-project/llvm/include -I C:/_work/llvm-project/llvm-project/llvm/lib/Target --long-string-literals=0 C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td --write-if-changed -o PPCGenSubtargetInfo.inc -d PPCGenSubtargetInfo.inc.d
```
</details>
<details>
<summary>[code=1] lib/Target/PowerPC/PPCGenInstrInfo.inc C:/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenInstrInfo.inc</summary>
```
FAILED: [code=1] lib/Target/PowerPC/PPCGenInstrInfo.inc C:/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenInstrInfo.inc
C:\Windows\system32\cmd.exe /C "cd /D C:\_work\llvm-project\llvm-project\build\lib\Target\PowerPC && C:\_work\llvm-project\llvm-project\build\bin\llvm-tblgen.exe -gen-instr-info -IC:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC -IC:/_work/llvm-project/llvm-project/build/include -IC:/_work/llvm-project/llvm-project/llvm/include -I C:/_work/llvm-project/llvm-project/llvm/lib/Target --long-string-literals=0 C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td --write-if-changed -o PPCGenInstrInfo.inc -d PPCGenInstrInfo.inc.d && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E cmake_transform_depfile Ninja gccdepfile C:/_work/llvm-project/llvm-project/llvm C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC C:/_work/llvm-project/llvm-project/build C:/_work/llvm-project/llvm-project/build/lib/Target/PowerPC C:/_work/llvm-project/llvm-project/build/lib/Target/PowerPC/PPCGenInstrInfo.inc.d C:/_work/llvm-project/llvm-project/build/CMakeFiles/d/143af34987d7130c31e2540fa8e10b305bae81e406d0c83bb30b64d9f906575e.d"
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:1598:11: error: 'P10Model' lacks information for 'BCCTAR'
def BCCTAR : XLForm_2_br<19, 560, 0, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:3758:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstr64Bit.td:163:13: error: 'P10Model' lacks information for 'BCCTAR8'
def BCCTAR8 : XLForm_2_br<19, 560, 0, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:1605:11: error: 'P10Model' lacks information for 'BCCTARL'
def BCCTARL : XLForm_2_br<19, 560, 1, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:3758:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstr64Bit.td:177:13: error: 'P10Model' lacks information for 'BCCTARL8'
def BCCTARL8 : XLForm_2_br<19, 560, 1, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:5261:9: error: 'P10Model' lacks information for 'gBCTAR'
def gBCTAR : XLForm_2<19, 560, 0, (outs),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:5265:9: error: 'P10Model' lacks information for 'gBCTARL'
def gBCTARL : XLForm_2<19, 560, 1, (outs),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:1598:11: error: 'P9Model' lacks information for 'BCCTAR'
def BCCTAR : XLForm_2_br<19, 560, 0, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:3758:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstr64Bit.td:163:13: error: 'P9Model' lacks information for 'BCCTAR8'
def BCCTAR8 : XLForm_2_br<19, 560, 0, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:1605:11: error: 'P9Model' lacks information for 'BCCTARL'
def BCCTARL : XLForm_2_br<19, 560, 1, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:3758:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstr64Bit.td:177:13: error: 'P9Model' lacks information for 'BCCTARL8'
def BCCTARL8 : XLForm_2_br<19, 560, 1, (outs), (ins (pred $BIBO, $CR):$cond),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:5261:9: error: 'P9Model' lacks information for 'gBCTAR'
def gBCTAR : XLForm_2<19, 560, 0, (outs),
^
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td:649:
Included from C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCSchedule.td:132:
C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC\PPCInstrInfo.td:5265:9: error: 'P9Model' lacks information for 'gBCTARL'
def gBCTARL : XLForm_2<19, 560, 1, (outs),
^
Incomplete schedule models found.
- Consider setting 'CompleteModel = 0' while developing new models.
- Pseudo instructions can be marked with 'hasNoSchedulingInfo = 1'.
- Instructions should usually have Sched<[...]> as a superclass, you may temporarily use an empty list.
- Instructions related to unsupported features can be excluded with list<Predicate> UnsupportedFeatures = [HasA,..,HasY]; in the processor model.
error: Incomplete schedule model
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0. Program arguments: C:\\_work\\llvm-project\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-instr-info -IC:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC -IC:/_work/llvm-project/llvm-project/build/include -IC:/_work/llvm-project/llvm-project/llvm/include -I C:/_work/llvm-project/llvm-project/llvm/lib/Target --long-string-literals=0 C:/_work/llvm-project/llvm-project/llvm/lib/Target/PowerPC/PPC.td --write-if-changed -o PPCGenInstrInfo.inc -d PPCGenInstrInfo.inc.d
```
</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/187322
More information about the llvm-commits
mailing list