deleting isPrimitiveType()

This commit is contained in:
Ilia Filippov
2013-12-12 19:25:02 +04:00
parent eef436b889
commit b19937c4dc
2 changed files with 5 additions and 4 deletions

View File

@@ -944,7 +944,8 @@ Target::GetISATargetString() const {
static bool
lGenericTypeLayoutIndeterminate(llvm::Type *type) {
if (type->isPrimitiveType() || type->isIntegerTy())
if (type->isFloatingPointTy() || type->isX86_MMXTy() || type->isVoidTy() ||
type->isIntegerTy() || type->isLabelTy() || type->isMetadataTy())
return false;
if (type == LLVMTypes::BoolVectorType ||