[llvm] r212459 - X86: revert unintentional change to X86FastISel.

Tim Northover tnorthover at apple.com
Mon Jul 7 07:06:42 PDT 2014


Author: tnorthover
Date: Mon Jul  7 09:06:42 2014
New Revision: 212459

URL: http://llvm.org/viewvc/llvm-project?rev=212459&view=rev
Log:
X86: revert unintentional change to X86FastISel.

This crept in with r212443.

Modified:
    llvm/trunk/lib/Target/X86/X86FastISel.cpp

Modified: llvm/trunk/lib/Target/X86/X86FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FastISel.cpp?rev=212459&r1=212458&r2=212459&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Mon Jul  7 09:06:42 2014
@@ -2402,7 +2402,7 @@ bool X86FastISel::X86VisitIntrinsicCall(
     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;
     }





More information about the llvm-commits mailing list