Migrate llc and the JIT to using the TargetRegistry for lookups.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 15 Jul 2009 11:36:15 +0000 (11:36 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 15 Jul 2009 11:36:15 +0000 (11:36 +0000)
commit54785e6df01aa239759a5717d7cc115387e34559
treeb5d2920d974cdefd643a2ac3b4278587d5f0f4ac
parent4d1be777f81137bab98025d1c37c08ef0ec2f204
Migrate llc and the JIT to using the TargetRegistry for lookups.
 - They still use the TargetMachineRegistry to populate the contents of the
   -march option (via the listener interface). We can't just populate it in the
   option parser because we can't expect the TargetRegistry to be populated yet
   (we no longer rely on static constructors).

 - There are a couple ways to finish killing off TargetMachineRegistry, but I
   haven't figured out the cleanest one yet...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75773 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegistry.h
lib/ExecutionEngine/JIT/TargetSelect.cpp
tools/llc/llc.cpp