[llvm] [llvm][llvm-dis] Fix 'llvm-dis' with '--materialize-metadata --show-annotations' crashes (PR #164819)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 24 06:51:47 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;
----------------
t-baydyusenov wrote:
Addressed
https://github.com/llvm/llvm-project/pull/164819
More information about the llvm-commits
mailing list