[LLVMbugs] [Bug 1210] NEW: Constant and Type uniquing should use FoldingSet

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Feb 18 23:49:08 PST 2007


http://llvm.org/bugs/show_bug.cgi?id=1210

           Summary: Constant and Type uniquing should use FoldingSet
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


The current way we unique (complex) constants and types is incredibly inefficient.  These should use 
FoldingSet instead, which will significantly speed up things like bcreading and general IR operations.

Once this is done, we can migrate to an API that doesn't require a temporary vector for creating things like 
a StructType or a ConstantArray.

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list