[llvm-commits] Initial cut of ARM MC ELF emitter (PATCH)

Jim Grosbach grosbach at apple.com
Mon Sep 27 10:57:14 PDT 2010


On Sep 27, 2010, at 10:49 AM, Rafael Espindola wrote:

> On 27 September 2010 13:31, Jim Grosbach <grosbach at apple.com> wrote:
>> It's much improved, but theres still one thing from my original comments that needs fixing.
>> 
>> The most recent patch still contains the bits moving the TargetData information into the base ARMBaseTargetMachine class from the ARMTargetMachine and ThumbTargetMachine classes. That's not appropriate. That sort of information is what the subclasses are there for. Please undo those changes.
> 
> I noticed that too, but X86 does the same thing. Would you like me to
> move TargetData to the subclasses of X86TargetMachine? I agree that
> the current situation is a bit silly since getTargetData is virtual
> and DataLayout is set only in X86TargetMachine.
> 

That makes sense to me. I do agree with the sentiment that the implementations of this should be consistent from target to target.

Thanks again to both of you for working on this stuff. Very excited to see the ARM bits moving forward in these areas.

Regards,
  Jim



More information about the llvm-commits mailing list