From: Borja F. <bor...@gm...> - 2012-03-04 13:35:22
|
John, can you update the RegAllocGreedy patch file with last night changes? You have to change the AliasI variable in the for loop to be of type uint16_t * instead of unsigned *. 2012/2/26 Borja Ferrer <bor...@gm...> > 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. >>> >>> >> > |