diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-04-18 14:10:06 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-04-18 15:59:52 -0700 |
commit | b7ddd45081a0bfebb32ab46a7a05ebaf7bc88942 (patch) | |
tree | ef9b89d83734337906d0dce7dfa5f9cfc43bc9c4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | fa6b54c44ab1d5f579304eadb7ac8bd7e72d0e77 (diff) | |
download | llvm-b7ddd45081a0bfebb32ab46a7a05ebaf7bc88942.zip llvm-b7ddd45081a0bfebb32ab46a7a05ebaf7bc88942.tar.gz llvm-b7ddd45081a0bfebb32ab46a7a05ebaf7bc88942.tar.bz2 |
[TableGen] Pass SmallVector to union_modes instead of returning a std::vector.
The number of modes is small so this should avoid a heap allocation.
Also replace std::set with SmallSet.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions