[X86] Correct a typo I made in combineToExtendCMOV recently.
authorCraig Topper <craig.topper@intel.com>
Sun, 18 Feb 2018 20:41:25 +0000 (20:41 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 18 Feb 2018 20:41:25 +0000 (20:41 +0000)
commit9cf812e1ed9c3db9c62d27289e947bfba8e635cb
tree76ebadb298829bf89755e1b68de17b4f43e48e4a
parent690ac0f3e0b2380cbeca8503626df1e4c2acc8b2
[X86] Correct a typo I made in combineToExtendCMOV recently.

We're accidentally checking that the same node is a constant twice instead of checking the other node.

This isn't a functional problem since we didn't do anything below that explicitly requires constants. It just means we may have introduced a sign_extend or zero_extend that won't fold out.

llvm-svn: 325469
llvm/lib/Target/X86/X86ISelLowering.cpp