forked from OSchip/llvm-project
Dwarf register 0 is r0, remove incorrect entries.
llvm-svn: 132276
This commit is contained in:
parent
2c6d23fba2
commit
ccfd392c13
|
@ -261,7 +261,7 @@ def VRSAVE: SPR<256, "VRsave">, DwarfRegNum<[109]>;
|
|||
// Carry bit. In the architecture this is really bit 0 of the XER register
|
||||
// (which really is SPR register 1); this is the only bit interesting to a
|
||||
// compiler.
|
||||
def CARRY: SPR<1, "ca">, DwarfRegNum<[0]>;
|
||||
def CARRY: SPR<1, "ca">;
|
||||
|
||||
// FP rounding mode: bits 30 and 31 of the FP status and control register
|
||||
// This is not allocated as a normal register; it appears only in
|
||||
|
@ -271,7 +271,7 @@ def CARRY: SPR<1, "ca">, DwarfRegNum<[0]>;
|
|||
// return and call instructions are described as Uses of RM, so instructions
|
||||
// that do nothing but change RM will not get deleted.
|
||||
// Also, in the architecture it is not really a SPR; 512 is arbitrary.
|
||||
def RM: SPR<512, "**ROUNDING MODE**">, DwarfRegNum<[0]>;
|
||||
def RM: SPR<512, "**ROUNDING MODE**">;
|
||||
|
||||
/// Register classes
|
||||
// Allocate volatiles first
|
||||
|
|
Loading…
Reference in New Issue