[llvm-commits] [llvm] r74329 - in /llvm/trunk/lib/Target/ARM: ARM.h ARMCodeEmitter.cpp ARMISelDAGToDAG.cpp ARMInstrInfo.cpp ARMInstrInfo.h ARMTargetAsmInfo.cpp ARMTargetAsmInfo.h ARMTargetMachine.cpp ARMTargetMachine.h AsmPrinter/ARMAsmPrinter.cpp ThumbInstrInfo.cpp ThumbInstrInfo.h

Evan Cheng evan.cheng at apple.com
Fri Jun 26 16:29:16 PDT 2009


ThumbTargetMachine should inherit from ARMTargetMachine so it be  
possible to go back to ARM mode.

Evan

On Jun 26, 2009, at 4:05 PM, Bob Wilson wrote:

> Some pieces of this make me wonder if this change will make it harder
> to support mixed ARM and Thumb mode compilations.  I think we need to
> support that, especially for LTO.  It seems like having separate
> ARMTargetMachine and ThumbTargetMachine classes might be a problem for
> that. Or not?
>
> On Jun 26, 2009, at 2:28 PM, Anton Korobeynikov wrote:
>
>> Author: asl
>> Date: Fri Jun 26 16:28:53 2009
>> New Revision: 74329
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=74329&view=rev
>> Log:
>> Split thumb-related stuff into separate classes.
>> Step 1: ARMInstructionInfo => {ARM,Thumb}InstructionInfo
>>
>> Added:
>>   llvm/trunk/lib/Target/ARM/ThumbInstrInfo.cpp
>>   llvm/trunk/lib/Target/ARM/ThumbInstrInfo.h
>> Modified:
>>   llvm/trunk/lib/Target/ARM/ARM.h
>>   llvm/trunk/lib/Target/ARM/ARMCodeEmitter.cpp
>>   llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
>>   llvm/trunk/lib/Target/ARM/ARMInstrInfo.cpp
>>   llvm/trunk/lib/Target/ARM/ARMInstrInfo.h
>>   llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp
>>   llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.h
>>   llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp
>>   llvm/trunk/lib/Target/ARM/ARMTargetMachine.h
>>   llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list