[all-commits] [llvm/llvm-project] 51bda3: [Libomptarget] Replace std::vector with llvm::Smal...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Aug 1 12:59:30 PDT 2022
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-08-01 (Mon, 01 Aug 2022)
[Libomptarget] Replace std::vector with llvm::SmallVector
The runtime makes some use of `std::vector` data structures. We should
be able to replace these trivially with `llvm::SmallVector` instead.
This should allow us to avoid heap allocations in the majority of cases
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D130927
More information about the All-commits