Handle lshr for i128 correctly on SPU also when
[oota-llvm.git] / lib / Target / CellSPU / SPUISelLowering.h
index 82f10270db3d6909933083c20026209fb74f22ca..95d44afe37c8f9e3219bbb51f7fdac0a294f0112 100644 (file)
@@ -181,6 +181,14 @@ namespace llvm {
 
     virtual bool isLegalAddressingMode(const AddrMode &AM, 
                                        const Type *Ty) const;
+    /// After allocating this many registers, the allocator should feel
+    /// register pressure. The value is a somewhat random guess, based on the
+    /// number of non callee saved registers in the C calling convention.
+    virtual unsigned getRegPressureLimit( const TargetRegisterClass *RC,
+                                          MachineFunction &MF) const{
+      return 50;
+    }
   };
 }