Allow {e,r}bp as the target of {read,write}_register.
[oota-llvm.git] / lib / Target / PowerPC / PPCISelLowering.cpp
index 47b42f549550a1dbd343383b6fce19cab59d8405..775ef41f4905be48bd444c0deada1c59a229fb47 100644 (file)
@@ -11031,8 +11031,8 @@ SDValue PPCTargetLowering::LowerFRAMEADDR(SDValue Op,
 
 // FIXME? Maybe this could be a TableGen attribute on some registers and
 // this table could be generated automatically from RegInfo.
-unsigned PPCTargetLowering::getRegisterByName(const char* RegName,
-                                              EVT VT) const {
+unsigned PPCTargetLowering::getRegisterByName(const char* RegName, EVT VT,
+                                              SelectionDAG &DAG) const {
   bool isPPC64 = Subtarget.isPPC64();
   bool isDarwinABI = Subtarget.isDarwinABI();