[llvm-commits] CVS: llvm/utils/TableGen/SubtargetEmitter.cpp

Jim Laskey jlaskey at apple.com
Tue Dec 12 08:07:50 PST 2006



Changes in directory llvm/utils/TableGen:

SubtargetEmitter.cpp updated: 1.21 -> 1.22
---
Log message:

Honor the command line specification for machine type.

---
Diffs of the changes:  (+1 -0)

 SubtargetEmitter.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/utils/TableGen/SubtargetEmitter.cpp
diff -u llvm/utils/TableGen/SubtargetEmitter.cpp:1.21 llvm/utils/TableGen/SubtargetEmitter.cpp:1.22
--- llvm/utils/TableGen/SubtargetEmitter.cpp:1.21	Thu Nov  2 19:28:12 2006
+++ llvm/utils/TableGen/SubtargetEmitter.cpp	Tue Dec 12 10:07:33 2006
@@ -460,6 +460,7 @@
         "                                  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";
         






More information about the llvm-commits mailing list