[all-commits] [llvm/llvm-project] 02ade2: [clang][bytecode] Avoid copying APValue into Evalu...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Aug 27 23:46:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02ade22aa824597b31c1eaaa041830ff54e5b71c
      https://github.com/llvm/llvm-project/commit/02ade22aa824597b31c1eaaa041830ff54e5b71c
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/EvalEmitter.cpp
    M clang/lib/AST/ByteCode/EvaluationResult.h

  Log Message:
  -----------
  [clang][bytecode] Avoid copying APValue into EvaluationResult (#155757)

Move the `APValue` into `EvaluationResult` instead.

For a large primitive array (`#embed` of the sqlite3 amalgamation), this
improves compile times by around 25%.



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