OSDN Git Service

rename getPPCOpcodeForSetCCNumber -> getPPCOpcodeForSetCCOpode to be more
authorChris Lattner <sabre@nondot.org>
Sun, 10 Apr 2005 01:03:31 +0000 (01:03 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 10 Apr 2005 01:03:31 +0000 (01:03 +0000)
commit51d2ed976f30913e173536e244d9f0e7259e4b1e
tree10778850df82fbaad77d76cbf2ef3d0ed696715c
parent706471e2912ee55f45804cf8318e07d360ecda6d
rename getPPCOpcodeForSetCCNumber -> getPPCOpcodeForSetCCOpode to be more
correct.  Remove the EmitComparison retvalue, as it is always the first arg.

Fix a place where we incorrectly passed in the setcc opcode instead of the
setcc number, causing us to miscompile crafty.  Crafty now works!

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