mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
PowerPC: Mark some more patterns as isCodeGenOnly.
A couple of recently introduced conditional branch patterns also need to be marked as isCodeGenOnly since they cannot be handled by the asm parser. No change in generated code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179690 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -72,6 +72,7 @@ let isTerminator = 1, isBarrier = 1, PPC970_Unit = 7 in {
|
|||||||
def BCTR8 : XLForm_2_ext<19, 528, 20, 0, 0, (outs), (ins), "bctr", BrB, []>,
|
def BCTR8 : XLForm_2_ext<19, 528, 20, 0, 0, (outs), (ins), "bctr", BrB, []>,
|
||||||
Requires<[In64BitMode]>;
|
Requires<[In64BitMode]>;
|
||||||
|
|
||||||
|
let isCodeGenOnly = 1 in
|
||||||
def BCCTR8 : XLForm_2_br<19, 528, 0, (outs), (ins pred:$cond),
|
def BCCTR8 : XLForm_2_br<19, 528, 0, (outs), (ins pred:$cond),
|
||||||
"b${cond:cc}ctr ${cond:reg}", BrB, []>,
|
"b${cond:cc}ctr ${cond:reg}", BrB, []>,
|
||||||
Requires<[In64BitMode]>;
|
Requires<[In64BitMode]>;
|
||||||
@@ -131,6 +132,8 @@ let isCall = 1, PPC970_Unit = 7, Defs = [LR8] in {
|
|||||||
def BCTRL8 : XLForm_2_ext<19, 528, 20, 0, 1, (outs), (ins),
|
def BCTRL8 : XLForm_2_ext<19, 528, 20, 0, 1, (outs), (ins),
|
||||||
"bctrl", BrB, [(PPCbctrl)]>,
|
"bctrl", BrB, [(PPCbctrl)]>,
|
||||||
Requires<[In64BitMode]>;
|
Requires<[In64BitMode]>;
|
||||||
|
|
||||||
|
let isCodeGenOnly = 1 in
|
||||||
def BCCTRL8 : XLForm_2_br<19, 528, 1, (outs), (ins pred:$cond),
|
def BCCTRL8 : XLForm_2_br<19, 528, 1, (outs), (ins pred:$cond),
|
||||||
"b${cond:cc}ctrl ${cond:reg}", BrB, []>,
|
"b${cond:cc}ctrl ${cond:reg}", BrB, []>,
|
||||||
Requires<[In64BitMode]>;
|
Requires<[In64BitMode]>;
|
||||||
|
@@ -725,6 +725,7 @@ let isTerminator = 1, isBarrier = 1, PPC970_Unit = 7 in {
|
|||||||
let isBranch = 1, isIndirectBranch = 1, Uses = [CTR] in {
|
let isBranch = 1, isIndirectBranch = 1, Uses = [CTR] in {
|
||||||
def BCTR : XLForm_2_ext<19, 528, 20, 0, 0, (outs), (ins), "bctr", BrB, []>;
|
def BCTR : XLForm_2_ext<19, 528, 20, 0, 0, (outs), (ins), "bctr", BrB, []>;
|
||||||
|
|
||||||
|
let isCodeGenOnly = 1 in
|
||||||
def BCCTR : XLForm_2_br<19, 528, 0, (outs), (ins pred:$cond),
|
def BCCTR : XLForm_2_br<19, 528, 0, (outs), (ins pred:$cond),
|
||||||
"b${cond:cc}ctr ${cond:reg}", BrB, []>;
|
"b${cond:cc}ctr ${cond:reg}", BrB, []>;
|
||||||
}
|
}
|
||||||
@@ -788,6 +789,8 @@ let isCall = 1, PPC970_Unit = 7, Defs = [LR] in {
|
|||||||
def BCTRL : XLForm_2_ext<19, 528, 20, 0, 1, (outs), (ins),
|
def BCTRL : XLForm_2_ext<19, 528, 20, 0, 1, (outs), (ins),
|
||||||
"bctrl", BrB, [(PPCbctrl)]>,
|
"bctrl", BrB, [(PPCbctrl)]>,
|
||||||
Requires<[In32BitMode]>;
|
Requires<[In32BitMode]>;
|
||||||
|
|
||||||
|
let isCodeGenOnly = 1 in
|
||||||
def BCCTRL : XLForm_2_br<19, 528, 1, (outs), (ins pred:$cond),
|
def BCCTRL : XLForm_2_br<19, 528, 1, (outs), (ins pred:$cond),
|
||||||
"b${cond:cc}ctrl ${cond:reg}", BrB, []>;
|
"b${cond:cc}ctrl ${cond:reg}", BrB, []>;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user