Skip to content

Commit c0a64ec

Browse files
committed
[MemoryBuiltins] Use SmallDenseMap for visited map (NFC)
This partially recovers a major compile-time regression introduced by #65326.
1 parent ff9ae3f commit c0a64ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Analysis/MemoryBuiltins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class ObjectSizeOffsetVisitor
198198
ObjectSizeOpts Options;
199199
unsigned IntTyBits;
200200
APInt Zero;
201-
DenseMap<Instruction *, SizeOffsetType> SeenInsts;
201+
SmallDenseMap<Instruction *, SizeOffsetType, 8> SeenInsts;
202202

203203
APInt align(APInt Size, MaybeAlign Align);
204204

0 commit comments

Comments
 (0)