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 | a8b7a7d3eaa51dd200cba1e5541f2542d24d7a6e (patch) | |
tree | 5e32ea85eb261844d98b52a2e67b6ba78aa9dbbd /lib/CodeGen/TargetInfo.cpp | |
parent | 77c059060f9c8c121d5e8b76957d187223677558 (diff) |
tame an assertion, fixing rdar://8357396
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index c5b858dbfa..78d7925a90 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/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); |