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:
3ed60a2
)
Revert r108401; it breaks bootstrap :(
author
Eli Friedman
<eli.friedman@gmail.com>
Thu, 15 Jul 2010 05:09:31 +0000
(
05:09
+0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Thu, 15 Jul 2010 05:09:31 +0000
(
05:09
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108407
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/InstructionSimplify.cpp
b/lib/Analysis/InstructionSimplify.cpp
index 0efe183a998b62cb10c01809d35fddcf50e9a313..dbefc2dedb2b41a5a605c4cfff9057c48536a754 100644
(file)
--- a/
lib/Analysis/InstructionSimplify.cpp
+++ b/
lib/Analysis/InstructionSimplify.cpp
@@
-443,9
+443,7
@@
void llvm::ReplaceAndSimplifyAllUses(Instruction *From, Value *To,
// FromHandle - This keeps a weakvh on the from value so that we can know if
// it gets deleted out from under us in a recursive simplification.
WeakVH FromHandle(From);
- // Double-check that To isn't deleted.
- AssertingVH<> CheckedTo = To;
-
+
while (!From->use_empty()) {
// Update the instruction to use the new value.
Use &U = From->use_begin().getUse();