forked from OSchip/llvm-project
[XCore][NFC] Remove trailing space
This commit is contained in:
parent
3f4490d384
commit
fa75bffbbb
|
@ -535,7 +535,7 @@ let hasSideEffects = 0, isReMaterializable = 1 in
|
|||
def LDAWDP_ru6: _FRU6<0b011000, (outs RRegs:$a), (ins i32imm:$b),
|
||||
"ldaw $a, dp[$b]", []>;
|
||||
|
||||
let isReMaterializable = 1 in
|
||||
let isReMaterializable = 1 in
|
||||
def LDAWDP_lru6: _FLRU6<0b011000, (outs RRegs:$a), (ins i32imm:$b),
|
||||
"ldaw $a, dp[$b]",
|
||||
[(set RRegs:$a, (dprelwrapper tglobaladdr:$b))]>;
|
||||
|
@ -974,17 +974,17 @@ def SETDP_1r : _F1R<0b001100, (outs), (ins GRRegs:$a), "set dp, $a", []>;
|
|||
let hasSideEffects=0 in
|
||||
def SETCP_1r : _F1R<0b001101, (outs), (ins GRRegs:$a), "set cp, $a", []>;
|
||||
|
||||
let hasCtrlDep = 1 in
|
||||
let hasCtrlDep = 1 in
|
||||
def ECALLT_1r : _F1R<0b010011, (outs), (ins GRRegs:$a),
|
||||
"ecallt $a",
|
||||
[]>;
|
||||
|
||||
let hasCtrlDep = 1 in
|
||||
let hasCtrlDep = 1 in
|
||||
def ECALLF_1r : _F1R<0b010010, (outs), (ins GRRegs:$a),
|
||||
"ecallf $a",
|
||||
[]>;
|
||||
|
||||
let isCall=1,
|
||||
let isCall=1,
|
||||
// All calls clobber the link register and the non-callee-saved registers:
|
||||
Defs = [R0, R1, R2, R3, R11, LR], Uses = [SP] in {
|
||||
def BLA_1r : _F1R<0b001000, (outs), (ins GRRegs:$a),
|
||||
|
@ -1141,7 +1141,7 @@ def : Pat<(truncstorei8 GRRegs:$val, (add GRRegs:$addr, GRRegs:$offset)),
|
|||
(ST8_l3r GRRegs:$val, GRRegs:$addr, GRRegs:$offset)>;
|
||||
def : Pat<(truncstorei8 GRRegs:$val, GRRegs:$addr),
|
||||
(ST8_l3r GRRegs:$val, GRRegs:$addr, (LDC_ru6 0))>;
|
||||
|
||||
|
||||
def : Pat<(truncstorei16 GRRegs:$val, (lda16f GRRegs:$addr, GRRegs:$offset)),
|
||||
(ST16_l3r GRRegs:$val, GRRegs:$addr, GRRegs:$offset)>;
|
||||
def : Pat<(truncstorei16 GRRegs:$val, GRRegs:$addr),
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Declarations that describe the XCore register file
|
||||
// Declarations that describe the XCore register file
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
class XCoreReg<string n> : Register<n> {
|
||||
|
@ -24,17 +24,17 @@ class Ri<bits<4> num, string n> : XCoreReg<n> {
|
|||
// CPU registers
|
||||
def R0 : Ri< 0, "r0">, DwarfRegNum<[0]>;
|
||||
def R1 : Ri< 1, "r1">, DwarfRegNum<[1]>;
|
||||
def R2 : Ri< 2, "r2">, DwarfRegNum<[2]>;
|
||||
def R2 : Ri< 2, "r2">, DwarfRegNum<[2]>;
|
||||
def R3 : Ri< 3, "r3">, DwarfRegNum<[3]>;
|
||||
def R4 : Ri< 4, "r4">, DwarfRegNum<[4]>;
|
||||
def R5 : Ri< 5, "r5">, DwarfRegNum<[5]>;
|
||||
def R5 : Ri< 5, "r5">, DwarfRegNum<[5]>;
|
||||
def R6 : Ri< 6, "r6">, DwarfRegNum<[6]>;
|
||||
def R7 : Ri< 7, "r7">, DwarfRegNum<[7]>;
|
||||
def R8 : Ri< 8, "r8">, DwarfRegNum<[8]>;
|
||||
def R9 : Ri< 9, "r9">, DwarfRegNum<[9]>;
|
||||
def R9 : Ri< 9, "r9">, DwarfRegNum<[9]>;
|
||||
def R10 : Ri<10, "r10">, DwarfRegNum<[10]>;
|
||||
def R11 : Ri<11, "r11">, DwarfRegNum<[11]>;
|
||||
def CP : Ri<12, "cp">, DwarfRegNum<[12]>;
|
||||
def CP : Ri<12, "cp">, DwarfRegNum<[12]>;
|
||||
def DP : Ri<13, "dp">, DwarfRegNum<[13]>;
|
||||
def SP : Ri<14, "sp">, DwarfRegNum<[14]>;
|
||||
def LR : Ri<15, "lr">, DwarfRegNum<[15]>;
|
||||
|
|
Loading…
Reference in New Issue