diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-10-17 21:28:48 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-10-17 21:28:48 +0000 |
commit | 99e34abde9e359642ba8dbf5f989d741edf1a93a (patch) | |
tree | 5f0c38c4df8b5af99a370ea44782b1b57eba756a /tools/llc | |
parent | fb902b025b65befec40cdb138ddfe015e8463a6a (diff) | |
download | external_llvm-99e34abde9e359642ba8dbf5f989d741edf1a93a.zip external_llvm-99e34abde9e359642ba8dbf5f989d741edf1a93a.tar.gz external_llvm-99e34abde9e359642ba8dbf5f989d741edf1a93a.tar.bz2 |
Switching TargetMachineRegistry to use the new generic Registry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r-- | tools/llc/llc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 7b55c80..c976ee2 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -57,7 +57,8 @@ static cl::opt<bool> Fast("fast", static cl::opt<std::string> TargetTriple("mtriple", cl::desc("Override target triple for module")); -static cl::opt<const TargetMachineRegistry::Entry*, false, TargetNameParser> +static cl::opt<const TargetMachineRegistry::entry*, false, + TargetMachineRegistry::Parser> MArch("march", cl::desc("Architecture to generate code for:")); static cl::opt<std::string> |