forked from OSchip/llvm-project
parent
515f53d4fa
commit
f80969f29b
|
@ -43,6 +43,9 @@ namespace {
|
|||
int ReturnAddrIndex; // FrameIndex for return slot.
|
||||
public:
|
||||
PPC32TargetLowering(TargetMachine &TM) : TargetLowering(TM) {
|
||||
// Fold away setcc operations if possible.
|
||||
setSetCCIsExpensive();
|
||||
|
||||
// Set up the register classes.
|
||||
addRegisterClass(MVT::i32, PPC32::GPRCRegisterClass);
|
||||
addRegisterClass(MVT::f32, PPC32::FPRCRegisterClass);
|
||||
|
|
|
@ -41,6 +41,9 @@ namespace {
|
|||
int ReturnAddrIndex; // FrameIndex for return slot.
|
||||
public:
|
||||
PPC64TargetLowering(TargetMachine &TM) : TargetLowering(TM) {
|
||||
// Fold away setcc operations if possible.
|
||||
setSetCCIsExpensive();
|
||||
|
||||
// Set up the register classes.
|
||||
addRegisterClass(MVT::i64, PPC64::GPRCRegisterClass);
|
||||
addRegisterClass(MVT::f32, PPC64::FPRCRegisterClass);
|
||||
|
|
Loading…
Reference in New Issue