Skip to content

Commit 4a5ff3e

Browse files
authored
Value: Remove redundant removeFromList in dropDroppableUse (#134580)
1 parent 7b3b4a5 commit 4a5ff3e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/IR/Value.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ void Value::dropDroppableUsesIn(User &Usr) {
215215
}
216216

217217
void Value::dropDroppableUse(Use &U) {
218-
U.removeFromList();
219218
if (auto *Assume = dyn_cast<AssumeInst>(U.getUser())) {
220219
unsigned OpNo = U.getOperandNo();
221220
if (OpNo == 0)

0 commit comments

Comments
 (0)