summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-11-14 18:41:38 +0000
committerChris Lattner <sabre@nondot.org>2006-11-14 18:41:38 +0000
commitf8c06b335d9b6e040519655c142e486c79ece4f1 (patch)
treeb4a1c54bd86794362e9001b78aecf092ca523bfc /llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
parent4916acbd0f143b772c78701dec1f6db8f4948379 (diff)
downloadbcm5719-llvm-f8c06b335d9b6e040519655c142e486c79ece4f1.tar.gz
bcm5719-llvm-f8c06b335d9b6e040519655c142e486c79ece4f1.zip
Fix a bug handling nodes with variable arguments. The code was fixed to assume
that there were two input operands before the variable operand portion. This *happened* to be true for all call instructions, which took a chain and a destination, but was not true for the PPC BCTRL instruction, whose destination is implicit. Making this code more general allows elimination of the custom selection logic for BCTRL. llvm-svn: 31732
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud