OSDN Git Service

PowerPC varargs functions store live-in registers on the stack. Make sure we use
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 11 Oct 2010 20:43:09 +0000 (20:43 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 11 Oct 2010 20:43:09 +0000 (20:43 +0000)
commit4f9af2ef65febd20e73ef00d868d3fb94db7afd9
treecc4a0e44ee9a45fdafd3a0e60a317b1f010606c0
parent8ff9a9da0a2efc7e901c79e62689b49a38454063
PowerPC varargs functions store live-in registers on the stack. Make sure we use
virtual registers for those stores since RegAllocFast requires that each live
physreg only be used once.

This fixes PR8357.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116222 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/2010-10-11-Fast-Varargs.ll [new file with mode: 0644]