projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f63be7d
)
Fix a typo in my checkin today that caused regressions. Oops!
author
Nate Begeman
<natebegeman@mac.com>
Thu, 7 Jul 2005 06:32:01 +0000
(06:32 +0000)
committer
Nate Begeman
<natebegeman@mac.com>
Thu, 7 Jul 2005 06:32:01 +0000
(06:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22341
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelPattern.cpp
b/lib/Target/X86/X86ISelPattern.cpp
index 5c561aa1716273e02d525b66857229642ec9bee5..fe0772000b56b64e09c287a62f83d88ff846b3b0 100644
(file)
--- 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)