OSDN Git Service

Fix a problem exposed by the local allocator. CALL instructions are not marked
authorChris Lattner <sabre@nondot.org>
Sat, 10 Jun 2006 01:14:28 +0000 (01:14 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 10 Jun 2006 01:14:28 +0000 (01:14 +0000)
commit4a45abf66ee33ce3b8404ace90c4bfefda7105f8
tree7ec6a64c561a7e4a4f3bf5a8a76ff77503a3ab53
parent11bcd28dfff6868a37dc49fc6f322094874e3967
Fix a problem exposed by the local allocator.  CALL instructions are not marked
as using incoming argument registers, so the local allocator would clobber them
between their set and use.  To fix this, we give the call instructions a variable
number of uses in the CALL MachineInstr itself, so live variables understands
the live ranges of these register arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28744 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstrInfo.td