We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed1c98 commit 0c4309bCopy full SHA for 0c4309b
llvm/lib/IR/Value.cpp
@@ -98,9 +98,10 @@ Value::~Value() {
98
dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n";
99
for (auto *U : users())
100
dbgs() << "Use still stuck around after Def is destroyed:" << *U << "\n";
101
+
102
+ llvm_unreachable("Uses remain when a value is destroyed!");
103
}
104
#endif
- assert(materialized_use_empty() && "Uses remain when a value is destroyed!");
105
106
// If this value is named, destroy the name. This should not be in a symtab
107
// at this point.
0 commit comments