[PATCH] D153598: [RISCV] Use binary search on the extension tables in RISCVISAInfo.cpp. NFC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 16:45:44 PDT 2023


craig.topper created this revision.
craig.topper added reviewers: jrtc27, asb, reames.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: wangpc, eopXD, MaskRay.
Herald added a project: LLVM.

The tables are now sorted by extension name so we can use that to
avoid a linear search.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153598

Files:
  llvm/lib/Support/RISCVISAInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153598.533816.patch
Type: text/x-patch
Size: 4483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230622/cecb7d3a/attachment.bin>


More information about the llvm-commits mailing list