mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
These targets don't like setcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21884 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39d7f8f338
commit
9bce0f92c3
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user