Fixes the last x86-64 test failure in compat.exp:
authorDale Johannesen <dalej@apple.com>
Thu, 26 Jun 2008 01:51:13 +0000 (01:51 +0000)
committerDale Johannesen <dalej@apple.com>
Thu, 26 Jun 2008 01:51:13 +0000 (01:51 +0000)
commitb5dae003252d8e650a32bfdf33cba5aed8e41e40
tree26bc34ce33c717a126765122886e4b2d9c93eb5a
parent872a738775ea3a78136da9914a9bbbb56326cacc
Fixes the last x86-64 test failure in compat.exp:
<16 x float> is 64-byte aligned (for some reason),
which gets us into the stack realignment code.  The
computation changing FP-relative offsets to SP-relative
was broken, assiging a spill temp to a location
also used for parameter passing.  This
fixes it by rounding up the stack frame to a multiple
of the largest alignment (I concluded it wasn't fixable
without doing this, but I'm not very sure.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52750 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/PrologEpilogInserter.cpp
lib/Target/X86/X86RegisterInfo.cpp
utils/TableGen/RegisterInfoEmitter.cpp