[clang] [llvm] [KeyInstr] Add DISubprogram::keyInstructions bit (PR #144107)

Orlando Cazalet-Hyams via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 23 05:30:25 PDT 2025


================
@@ -922,8 +922,8 @@ template <> struct MDNodeKeyImpl<DISubprogram> {
   MDString *LinkageName;
   Metadata *File;
   unsigned Line;
-  Metadata *Type;
   unsigned ScopeLine;
+  Metadata *Type;
----------------
OCHyams wrote:

Yep, 136 -> 128 bytes (144 -> 136 with the new bool). I don't think it was important to performance, but seemed a harmless improvement. ymmv?

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


More information about the cfe-commits mailing list