http://llvm.org/bugs/show_bug.cgi?id=12156
Bug #: 12156
Summary: [ADT] Create a SmallPtrMap type
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Core LLVM classes
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
There are a number of places in the compiler where we could make good use of a
SmallPtrMap ADT (a map with a small stack allocated buffer).
For example, in:
http://llvm.org/viewvc/llvm-project?view=rev&revision=151697
I ended up caching some DenseMaps that were being allocated many many times,
but in practice these maps are very small, it would be much cleaner to use a
local SmallPtrMap.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs