[llvm-branch-commits] [llvm] IR: Remove uselist for constantdata (PR #134692)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Apr 13 04:01:15 PDT 2025


================
@@ -8857,6 +8857,8 @@ bool LLParser::parseMDNodeVector(SmallVectorImpl<Metadata *> &Elts) {
 //===----------------------------------------------------------------------===//
 bool LLParser::sortUseListOrder(Value *V, ArrayRef<unsigned> Indexes,
                                 SMLoc Loc) {
+  if (isa<ConstantData>(V))
----------------
nikic wrote:

hasUseList() more natural here and next two files?

https://github.com/llvm/llvm-project/pull/134692


More information about the llvm-branch-commits mailing list