diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-18 22:19:44 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-18 22:19:44 +0000 |
commit | 90dafa1638edaffbba4b50f504d1470428a2d25d (patch) | |
tree | 58b61ac77d3c06749a802f506ba7cb80ec660a3f /lib/CodeGen/CGCall.cpp | |
parent | 1f62ef33059dbd684bb2481f36cbfdf86075e1a1 (diff) |
x86_64 ABI: Fix thinko in computation of bound for "passed in SSE regs" test.
Two more gcc/x86_64 failures down.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 9b8b74196f..f012d93bfa 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -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; } |