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:
7905c55
)
Remove a unnecessary check.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 14 Sep 2006 23:55:02 +0000
(23:55 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 14 Sep 2006 23:55:02 +0000
(23:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30382
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 9d655b0677b0b7ddd430b04f8103fbbeb7950e6a..144776e68c1f23cff0c280a183cd478cdc0d376d 100644
(file)
--- a/
lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-784,7
+784,6
@@
bool X86DAGToDAGISel::TryFoldLoad(SDOperand P, SDOperand N,
SDOperand &Index, SDOperand &Disp) {
if (N.getOpcode() == ISD::LOAD &&
N.hasOneUse() &&
- P.Val->isOnlyUse(N.Val) &&
CanBeFoldedBy(N.Val, P.Val))
return SelectAddr(N.getOperand(1), Base, Scale, Index, Disp);
return false;