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:
f183cab
)
fix compilation failure of smg2000
author
Chris Lattner
<sabre@nondot.org>
Thu, 12 Oct 2006 03:55:48 +0000
(
03:55
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 12 Oct 2006 03:55:48 +0000
(
03:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30900
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelDAGToDAG.cpp
b/lib/Target/X86/X86ISelDAGToDAG.cpp
index 3963473594931f87ccd29901ce427639b050b4d8..e895b045f1db50f5b43e253fd2db305e27411a5b 100644
(file)
--- a/
lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-797,7
+797,7
@@
bool X86DAGToDAGISel::SelectScalarSSELoad(SDOperand N, SDOperand &Base,
SDOperand &OutChain) {
if (N.getOpcode() == ISD::SCALAR_TO_VECTOR) {
InChain = N.getOperand(0).getValue(1);
- if (ISD::isNON_EXTLoad(InChain.Val)) {
+ if (ISD::isNON_EXTLoad(InChain.Val)
&& InChain.getValue(0).hasOneUse()
) {
LoadSDNode *LD = cast<LoadSDNode>(InChain);
if (!SelectAddr(LD->getBasePtr(), Base, Scale, Index, Disp))
return false;