Skip to content

Commit c255540

Browse files
committed
Use SmallDenseMap instead of std::map
1 parent 67df346 commit c255540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30058,7 +30058,7 @@ static SDValue LowerShift(SDValue Op, const X86Subtarget &Subtarget,
3005830058
}
3005930059

3006030060
// Build a map of inrange constant amounts with element mask where they occur.
30061-
std::map<unsigned, APInt> UniqueCstAmt;
30061+
SmallDenseMap<unsigned, APInt, 16> UniqueCstAmt;
3006230062
if (ConstantAmt) {
3006330063
for (unsigned I = 0; I != NumElts; ++I) {
3006430064
SDValue A = Amt.getOperand(I);

0 commit comments

Comments
 (0)