https://llvm.org/bugs/show_bug.cgi?id=30513

            Bug ID: 30513
           Summary: ConstantData should not have use-lists
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedb...@nondot.org
          Reporter: dexonsm...@apple.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

r261464 added ConstantData as a code cleanup, but my real goal was to
eventually remove use-lists from types like ConstantInt and ConstantFP.  Code
that walks through uses of i32 0 is usually wrong, and even when correct, is
usually inefficient.

Since r261464, I've been rather lazily committing patches to avoid iterating
through ConstantData use-lists.  I'll send an RFC to llvm-dev in a moment with
more reasoning and some WIP patches (I'll post a link here after posting), but
I thought a PR to track remaining work would be in order.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to