Add x86MMX a few more places.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113914 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen
2010-09-15 00:52:23 +00:00
parent 49ddd3a1a4
commit 29fc6f35a5
3 changed files with 4 additions and 1 deletions

View File

@@ -313,7 +313,8 @@ public:
///
bool isSized() const {
// If it's a primitive, it is always sized.
if (ID == IntegerTyID || isFloatingPointTy() || ID == PointerTyID)
if (ID == IntegerTyID || isFloatingPointTy() || ID == PointerTyID ||
ID == X86_MMXTyID)
return true;
// If it is not something that can have a size (e.g. a function or label),
// it doesn't have a size.