From: Borja F. <bor...@gm...> - 2012-02-26 14:38:56
|
Ok, fixed. This was caused by rev151134 where they changed the format on how register classes are printed with tablegen, making RC a const pointer. 2012/2/26 Borja Ferrer <bor...@gm...> > I don't think so John, I'll take a look. This compiled last week when I > committed it perfectly so maybe there's been some change during this week > than has broken the build. I assume this happens to you with latest LLVM > trunk revision? > > > 2012/2/26 John Myers <ato...@gm...> > >> >> >> On Wed, Feb 22, 2012 at 4:34 PM, Borja Ferrer <bor...@gm...>wrote: >> >>> No comments yet? >>> >> >> I'm getting the below error. Are there other patches that haven't been >> committed or is this just a mis-match between the LLVM trunk and avr-llvm? >> >> llvm[3]: Compiling AVRFrameLowering.cpp for Release+Asserts build >> llvm[3]: Compiling AVRISelDAGToDAG.cpp for Release+Asserts build >> llvm[3]: Compiling AVRISelLowering.cpp for Release+Asserts build >> AVRISelLowering.cpp:762:12: error: assigning to >> 'llvm::TargetRegisterClass *' from incompatible type 'const >> llvm::TargetRegisterClass *const' >> RC = AVR::GPR8RegisterClass; >> ^ ~~~~~~~~~~~~~~~~~~~~~~ >> AVRISelLowering.cpp:766:12: error: assigning to >> 'llvm::TargetRegisterClass *' from incompatible type 'const >> llvm::TargetRegisterClass *const' >> RC = AVR::DREGSRegisterClass; >> ^ ~~~~~~~~~~~~~~~~~~~~~~~ >> 2 errors generated. >> >> > |