In r155270, I removed code from TableGen that emitted XXXRegisterClass into GenRegisterInfo.inc. This value was just a const pointer to XXXRegClass. So all places that used XXXRegisterClass should be changed to &XXXRegisterClass. I already did the conversion for all targets in the tree so this is a notice to out of tree targets.<br>
<br>One of the most common place you might find this is setting up register classes in TargetLowering. For example,<br><br>  addRegisterClass(MVT::i8, X86::GR8RegisterClass);<br>  addRegisterClass(MVT::i16, X86::GR16RegisterClass);<br>
  addRegisterClass(MVT::i32, X86::GR32RegisterClass);<br><br>These should be changed to<br><br>  addRegisterClass(MVT::i8, &X86::GR8RegClass);<br>  addRegisterClass(MVT::i16, &X86::GR16RegClass);<br>  addRegisterClass(MVT::i32, &X86::GR32RegClass);<br>
<br>Hopefully, this change won't cause too much trouble.<br clear="all"><br>-- <br>~Craig<br>