When allocating space on stack for writing a register,
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 12 Nov 2001 23:26:35 +0000 (23:26 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 12 Nov 2001 23:26:35 +0000 (23:26 +0000)
commit00521d79bf4ee009f59e726a5eb227e04075f5c8
treec0067df4fa3325297553e3dd0d1845327d76e326
parente492c9d4d1a161cd0972bfb8bab33f073fb018b4
When allocating space on stack for writing a register,
use the size of the register, not the size of the Value type,
to get the right alignment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1284 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/SparcV9Internals.h
lib/Target/SparcV9/SparcV9RegInfo.cpp
lib/Target/SparcV9/SparcV9TargetMachine.cpp