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

Reid Spencer reid at x10sys.com
Wed Feb 14 18:27:27 PST 2007



Changes in directory llvm/utils/TableGen:

IntrinsicEmitter.cpp updated: 1.25 -> 1.26
---
Log message:

For PR1195: http://llvm.org/PR1195 :
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.


---
Diffs of the changes:  (+3 -3)

 IntrinsicEmitter.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/utils/TableGen/IntrinsicEmitter.cpp
diff -u llvm/utils/TableGen/IntrinsicEmitter.cpp:1.25 llvm/utils/TableGen/IntrinsicEmitter.cpp:1.26
--- llvm/utils/TableGen/IntrinsicEmitter.cpp:1.25	Wed Feb  7 14:38:26 2007
+++ llvm/utils/TableGen/IntrinsicEmitter.cpp	Wed Feb 14 20:26:10 2007
@@ -120,7 +120,7 @@
     OS << ArgType->getValueAsInt("Width") << ", ";
 
   // If this is a packed type, check that the subtype and size are correct.
-  else if (ArgType->isSubClassOf("LLVMPackedType")) {
+  else if (ArgType->isSubClassOf("LLVMVectorType")) {
     EmitTypeVerify(OS, ArgType->getValueAsDef("ElTy"));
     OS << ArgType->getValueAsInt("NumElts") << ", ";
   }
@@ -131,8 +131,8 @@
 static void EmitTypeGenerate(std::ostream &OS, Record *ArgType) {
   if (ArgType->isSubClassOf("LLVMIntegerType")) {
     OS << "IntegerType::get(" << ArgType->getValueAsInt("Width") << ")";
-  } else if (ArgType->isSubClassOf("LLVMPackedType")) {
-    OS << "PackedType::get(";
+  } else if (ArgType->isSubClassOf("LLVMVectorType")) {
+    OS << "VectorType::get(";
     EmitTypeGenerate(OS, ArgType->getValueAsDef("ElTy"));
     OS << ", " << ArgType->getValueAsInt("NumElts") << ")";
   } else if (ArgType->isSubClassOf("LLVMPointerType")) {






More information about the llvm-commits mailing list