PowerPC no-pic code is not quite ready for prime-time

llvm-svn: 22507
This commit is contained in:
Chris Lattner 2005-07-22 22:58:34 +00:00
parent 08c3645d3a
commit 12f5d12b21
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ namespace {
PPC32TargetLowering(TargetMachine &TM) : TargetLowering(TM) {
// Fold away setcc operations if possible.
setSetCCIsExpensive();
PICEnabled = true;
// Set up the register classes.
addRegisterClass(MVT::i32, PPC32::GPRCRegisterClass);