Fix SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c on Sparc.
authorChris Lattner <sabre@nondot.org>
Wed, 15 Feb 2006 06:41:34 +0000 (06:41 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Feb 2006 06:41:34 +0000 (06:41 +0000)
commit6fa1f57c66dc3cb762fffd99ec86c29d0cdc103e
treee5dbb4c3e4d9050119f96537e9155f44ebe7caf0
parent197ab8787f2630051e66a46c636b6015bec2de0e
Fix SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c on Sparc.

The ABI specifies that there is a register save area at the bottom of the
stack, which means the actual used pointer needs to be an offset from
the subtracted value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26202 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcISelDAGToDAG.cpp