[all-commits] [llvm/llvm-project] bfa3da: [clang][bytecode] Optimize `interp::Record` a bit ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Feb 26 04:34:53 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfa3da861342372bbfd7ee8e2d80bc52feb8d57e
      https://github.com/llvm/llvm-project/commit/bfa3da861342372bbfd7ee8e2d80bc52feb8d57e
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-02-26 (Thu, 26 Feb 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Program.cpp
    M clang/lib/AST/ByteCode/Record.cpp
    M clang/lib/AST/ByteCode/Record.h

  Log Message:
  -----------
  [clang][bytecode] Optimize `interp::Record` a bit (#183494)

And things around it.

Remove the `FieldMap`, since we can use the field's index instead and
only keep an array around. `reserve()` the sizes and use
`emplace_back()`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list