diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-26 06:28:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-26 06:28:35 +0000 |
commit | 51e1cc2fe244b12729ac874359c71948f79525fd (patch) | |
tree | 28c41178ec5e8ae476f34736e48d4afeb0ef9db2 /clang/lib/CodeGen | |
parent | d2bc53e92568465991a789b15a4d77db1c4ccd47 (diff) | |
download | bcm5719-llvm-51e1cc2fe244b12729ac874359c71948f79525fd.tar.gz bcm5719-llvm-51e1cc2fe244b12729ac874359c71948f79525fd.zip |
tame an assertion, fixing rdar://8357396
llvm-svn: 112174
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index c5b858dbfab..78d7925a900 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -1794,7 +1794,7 @@ llvm::Value *X86_64ABIInfo::EmitVAArg(llvm::Value *VAListAddr, QualType Ty, assert(ST->getNumElements() == 2 && "Unexpected ABI info for mixed regs"); const llvm::Type *TyLo = ST->getElementType(0); const llvm::Type *TyHi = ST->getElementType(1); - assert((TyLo->isFloatingPointTy() ^ TyHi->isFloatingPointTy()) && + assert((TyLo->isFPOrFPVectorTy() ^ TyHi->isFPOrFPVectorTy()) && "Unexpected ABI info for mixed regs"); const llvm::Type *PTyLo = llvm::PointerType::getUnqual(TyLo); const llvm::Type *PTyHi = llvm::PointerType::getUnqual(TyHi); |