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
This commit is contained in:
Nate Begeman 2005-07-07 06:32:01 +00:00
parent f63be7d395
commit b8aa3ac678

View File

@ -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)