x86_64 ABI: Fix thinko in computation of bound for "passed in SSE regs" test.

Two more gcc/x86_64 failures down.

llvm-svn: 64963
This commit is contained in:
Daniel Dunbar 2009-02-18 22:19:44 +00:00
parent a790c8dcac
commit e60ec0abca
1 changed files with 1 additions and 1 deletions

View File

@ -1011,7 +1011,7 @@ llvm::Value *X86_64ABIInfo::EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
llvm::Value *FitsInFP =
CGF.Builder.CreateICmpULE(fp_offset,
llvm::ConstantInt::get(llvm::Type::Int32Ty,
176 - neededSSE * 8),
176 - neededSSE * 16),
"fits_in_fp");
InRegs = InRegs ? CGF.Builder.CreateAnd(InRegs, FitsInFP) : FitsInFP;
}