Fix a bug introduced by r94490 where it created a X86ISD::CMP whose output type is...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 28 Jan 2010 01:57:22 +0000 (01:57 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 28 Jan 2010 01:57:22 +0000 (01:57 +0000)
commit5fef8bc1cbcdf70c241ebeb0626849cecd412980
tree4c42ac8ae5282fb3a36afacc5689edf3dedee604
parenta6086fc9754c28a5f72045ca96b3a3a0f00dfce6
Fix a bug introduced by r94490 where it created a X86ISD::CMP whose output type is different from its inputs.
This fixes PR6146.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94731 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/sext-i1.ll