[all-commits] [llvm/llvm-project] 168308: [clang][bytecode] Simplify and optimize Evaluation...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Aug 28 01:06:25 PDT 2025


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

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

  Log Message:
  -----------
  [clang][bytecode] Simplify and optimize EvaluationResult (#155772)

Remove support for saving a `Pointer` in the `EvaluationResult` since
that was unused. Add `stealAPValue()` which moves the `APValue` out of
the `EvaluationResult` to avoid a copy at the end of the evaluation.



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