[llvm] [LTO] Don't make unnecessary copies of ImportIDTable (PR #106998)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 2 07:54:29 PDT 2024


================
@@ -113,6 +113,13 @@ class FunctionImporter {
   public:
     using ImportIDTy = uint32_t;
 
+    ImportIDTable() = default;
+
+    // Three is something wrong with the application logic if we need to make a
----------------
nikic wrote:

```suggestion
    // There is something wrong with the application logic if we need to make a
```

https://github.com/llvm/llvm-project/pull/106998


More information about the llvm-commits mailing list