From 7c3cab9ddc9eb7421b42048d3764a69c72ec2e12 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Tue, 12 Dec 2006 16:07:33 +0000 Subject: Honor the command line specification for machine type. llvm-svn: 32483 --- llvm/utils/TableGen/SubtargetEmitter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/utils') diff --git a/llvm/utils/TableGen/SubtargetEmitter.cpp b/llvm/utils/TableGen/SubtargetEmitter.cpp index a70dbc97287..caff55c4e30 100644 --- a/llvm/utils/TableGen/SubtargetEmitter.cpp +++ b/llvm/utils/TableGen/SubtargetEmitter.cpp @@ -460,6 +460,7 @@ void SubtargetEmitter::ParseFeaturesFunction(std::ostream &OS) { " const std::string &CPU) {\n" " SubtargetFeatures Features(FS);\n" " Features.setCPUIfNone(CPU);\n" + " setCPU(Features.getCPU());\n" " uint32_t Bits = Features.getBits(SubTypeKV, SubTypeKVSize,\n" " FeatureKV, FeatureKVSize);\n"; -- cgit v1.2.3