[llvm] [llvm][llvm-dis] Fix 'llvm-dis' with '--materialize-metadata --show-annotations' crashes (PR #164819)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 24 06:28:57 PDT 2025
================
@@ -263,9 +263,6 @@ bool Value::isUsedInBasicBlock(const BasicBlock *BB) const {
}
unsigned Value::getNumUses() const {
- // TODO: Disallow for ConstantData and remove !UseList check?
- if (!UseList)
- return 0;
----------------
arsenm wrote:
This should probably be a separate change, I don't see the connection here
https://github.com/llvm/llvm-project/pull/164819
More information about the llvm-commits
mailing list