diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-06-22 11:01:11 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-06-22 11:25:47 -0700 |
commit | e4a93d80f425114e4d943ba176b34590c8d0fece (patch) | |
tree | f0648bbc0f3382566ffaa3dfe1b5003c8fe4db77 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a0509884d904e91eb18e1bd6b1e216b470b7e970 (diff) | |
download | llvm-e4a93d80f425114e4d943ba176b34590c8d0fece.zip llvm-e4a93d80f425114e4d943ba176b34590c8d0fece.tar.gz llvm-e4a93d80f425114e4d943ba176b34590c8d0fece.tar.bz2 |
[RISCV] Sort the extensions in SupportedExtensions and SupportedExperimentalExtensions.
As the extension list continues to grow it probably makes sense
to use a binary search rather than linear search. Sorting the strings
will make this possible.
This also avoids any question about where to add new strings in
the tables.
Reviewed By: asb
Differential Revision: https://reviews.llvm.org/D153170
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions