OSDN Git Service

Fix a major regression from the bugfix for 2004-10-08-SelectSetCCFold.llx,
authorChris Lattner <sabre@nondot.org>
Fri, 8 Oct 2004 22:24:31 +0000 (22:24 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 8 Oct 2004 22:24:31 +0000 (22:24 +0000)
commitb0f4e389dba74e5d4692bc42d155950e96c92eaf
tree184dc1807716a480ade43ed13ad518dd98755048
parent8f57e9c083b1e1aa9677e83284969ab65b975821
Fix a major regression from the bugfix for 2004-10-08-SelectSetCCFold.llx,
which prevented setcc's from being folded into branches.  It appears that
conditional branchinst's CC operand is actually operand(2), not operand(0)
as we might expect. :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16859 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelSimple.cpp