commit | 28ad9bfc2168da7368b25af7a00dab17c33381a2 | [log] [tgz] |
---|---|---|
author | Joseph Huber <jhuber6@vols.utk.edu> | Mon Aug 01 14:57:27 2022 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Aug 01 13:00:38 2022 -0700 |
tree | 95acbed643db928f8f215e795a7a75801b31444f | |
parent | ebcdeaa5a593320cab8d678d77b89b817a2c1c3d [diff] |
[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 now. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D130927 GitOrigin-RevId: 51bda3a0e7ac0285cf116b5cfd1393a3340974b5