Displaying 1 result from an estimated 1 matches for "gr32registerclass".
Did you mean:
gr16registerclass
2012 Apr 22
0
[LLVMdev] FYI: Removal of XXXRegisterClass from GenRegisterInfo.inc
...e
so this is a notice to out of tree targets.
One of the most common place you might find this is setting up register
classes in TargetLowering. For example,
addRegisterClass(MVT::i8, X86::GR8RegisterClass);
addRegisterClass(MVT::i16, X86::GR16RegisterClass);
addRegisterClass(MVT::i32, X86::GR32RegisterClass);
These should be changed to
addRegisterClass(MVT::i8, &X86::GR8RegClass);
addRegisterClass(MVT::i16, &X86::GR16RegClass);
addRegisterClass(MVT::i32, &X86::GR32RegClass);
Hopefully, this change won't cause too much trouble.
--
~Craig
-------------- next part -------------...