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:
c008c5e
)
detabify
author
Gabor Greif
<ggreif@gmail.com>
Fri, 11 Apr 2008 09:34:57 +0000
(09:34 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Fri, 11 Apr 2008 09:34:57 +0000
(09:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49524
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index a1d6c779b9b3ff8eb72ebbaebe5ce15fe37b31ae..f096c70a3e47f015eac9ae36cb4b1d1e227256bb 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-3507,7
+3507,7
@@
void SelectionDAG::ReplaceAllUsesOfValueWith(SDOperand From, SDOperand To,
for (; Op != E; ++Op) {
if (*Op == From) {
From.Val->removeUser(Op-User->op_begin(), User);
- *Op = To;
+
*Op = To;
Op->setUser(User);
To.Val->addUser(Op-User->op_begin(), User);
}