mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 21:53:12 +08:00
a7330ba5ac04eb0163ac6d5bcd5c59a71bcc107e
The OperandsMapper class is used heavy in RegBankSelect and each instantiation triggered a heap allocation for the array of operands. Instead, use a SmallVector with a big enough size such that most of the cases do not have to use dynamically allocated memory. This improves the compile time of the RegBankSelect pass. llvm-svn: 281916
…
Languages
LLVM
41.5%
C++
31.7%
C
13%
Assembly
9.1%
MLIR
1.5%
Other
2.8%