diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-15 02:26:10 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-15 02:26:10 +0000 |
commit | 9d6565a5b1fbc4286d6ee638d8f47a3171a9ed7e (patch) | |
tree | 6bac879128a02cb08acd536416a5f2d32fb465a7 /utils | |
parent | b7d61101b1a9e28541470e05af1321fea76f08e5 (diff) |
For PR1195:
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/IntrinsicEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp index 1a70b257f1..214f310490 100644 --- a/utils/TableGen/IntrinsicEmitter.cpp +++ b/utils/TableGen/IntrinsicEmitter.cpp @@ -120,7 +120,7 @@ static bool EmitTypeVerify(std::ostream &OS, Record *ArgType) { 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 bool EmitTypeVerify(std::ostream &OS, Record *ArgType) { 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")) { |