forked from OSchip/llvm-project
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:
parent
a790c8dcac
commit
e60ec0abca
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue