This revision uses contains in favor of count when
searching sets and maps. Additionally it uses find
instead of count and lookup, which avoids searching
some maps twice.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D150344
[mlir][llvm] Improve lookups in LLVM IR import (NFC). ClosedPublic Authored by gysit on May 10 2023, 11:49 PM.
Details Summary This revision uses contains in favor of count when
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 11 2023, 12:06 AM Closed by commit rGdc47813eb042: [mlir][llvm] Improve lookups in LLVM IR import (NFC). (authored by gysit). · Explain WhyMay 11 2023, 5:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 521216 mlir/lib/Target/LLVMIR/ModuleImport.cpp
|