[all-commits] [llvm/llvm-project] 72e144: [TableGen] Slightly improve the efficiency of Info...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sat Apr 8 19:17:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72e1441c7a3067a303bd0909f9928af8d5bf1769
https://github.com/llvm/llvm-project/commit/72e1441c7a3067a303bd0909f9928af8d5bf1769
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-04-08 (Sat, 08 Apr 2023)
Changed paths:
M llvm/utils/TableGen/InfoByHwMode.cpp
M llvm/utils/TableGen/InfoByHwMode.h
Log Message:
-----------
[TableGen] Slightly improve the efficiency of InfoByHwMode::get.
This avoids some double map lookups. Also use Map.begin() to find
the default mode instead of going through find.
More information about the All-commits
mailing list