[llvm-commits] [llvm] r77060 - in /llvm/trunk: include/llvm/Target/ lib/ExecutionEngine/JIT/ lib/Support/ lib/Target/ARM/TargetInfo/ lib/Target/Alpha/TargetInfo/ lib/Target/CBackend/TargetInfo/ lib/Target/CellSPU/TargetInfo/ lib/Target/CppBackend

Chris Lattner clattner at apple.com
Sat Jul 25 16:07:13 PDT 2009


On Jul 25, 2009, at 3:01 PM, Daniel Dunbar wrote:

>>> - Target selection for the JIT just gets the host triple and looks
>>> for the best
>>>   target which matches the triple and has a JIT.
>>
>> Will JIT construction eventually go through the registry mechanism?
>> If so, you can just see if the JIT ctor method is non-null for the
>> target instead of needing an extra bool.  This also lets you know  
>> that
>> the target has a jit *and it is linked in*.
>
> What is "JIT construction", the addCodeEmitter hook?

Yeah

> But yes, I agree this is a silly solution, the target shouldn't have
> to explain that it supports the JIT. I don't plan to refactor any
> parts of the target machine to decouple things more, but it would make
> sense to do.

Ok.

-Chris



More information about the llvm-commits mailing list