Skip to content

Constant and Type uniquing should use a DenseMap/FoldingSet #1582

Closed
@lattner

Description

@lattner
Bugzilla Link 1210
Resolution FIXED
Resolved on Feb 23, 2012 08:31
Version trunk
OS All
CC @jayfoad

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions