X86: revert unintentional change to X86FastISel.
authorTim Northover <tnorthover@apple.com>
Mon, 7 Jul 2014 14:06:42 +0000 (14:06 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 7 Jul 2014 14:06:42 +0000 (14:06 +0000)
This crept in with r212443.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212459 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86FastISel.cpp

index 5e866771bd1f92e32348368c7cc7e181fcbc084d..d9f8967dbf0c8cd781d6fdbf1077c2dfcf08937a 100644 (file)
@@ -2402,7 +2402,7 @@ bool X86FastISel::X86VisitIntrinsicCall(const IntrinsicInst &I) {
     case Intrinsic::usub_with_overflow:
       BaseOpc = ISD::SUB; CondOpc = X86::SETBr; break;
     case Intrinsic::smul_with_overflow:
-      BaseOpc = X86ISD::SMUL; CondOpc = X86::SETOr; break;
+      BaseOpc = ISD::MUL; CondOpc = X86::SETOr; break;
     case Intrinsic::umul_with_overflow:
       BaseOpc = X86ISD::UMUL; CondOpc = X86::SETOr; break;
     }