From: Nate Begeman Date: Thu, 7 Jul 2005 06:32:01 +0000 (+0000) Subject: Fix a typo in my checkin today that caused regressions. Oops! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b8aa3ac6786e07e88eb4c2975572a9d165f861b2;p=oota-llvm.git Fix a typo in my checkin today that caused regressions. Oops! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22341 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelPattern.cpp b/lib/Target/X86/X86ISelPattern.cpp index 5c561aa1716..fe0772000b5 100644 --- a/lib/Target/X86/X86ISelPattern.cpp +++ b/lib/Target/X86/X86ISelPattern.cpp @@ -3027,7 +3027,7 @@ unsigned ISel::SelectExpr(SDOperand N) { if (N.getOpcode() == ISD::SDIV) { // We can fold loads into FpDIVs, but not really into any others. - if (N.getValueType() == MVT::f64 || !X86ScalarSSE) { + if (N.getValueType() == MVT::f64 && !X86ScalarSSE) { // Check for reversed and unreversed DIV. if (isFoldableLoad(N.getOperand(0), N.getOperand(1), true)) { if (N.getOperand(0).getOpcode() == ISD::EXTLOAD)