The use of SmallVector here saves 1.03% of heap allocations during the compilation of X86ISelLowering.cpp.ll, a .ll version of X86ISelLowering.cpp. The 8 inline elements cover greater than 99% of invocations encountered here. While I am it, the patch changes the parameter type to ArrayRef to allow callers to use any vector type.
352 KiB
352 KiB