[all-commits] [llvm/llvm-project] c7a93e: [clang][bytecode] Pop builtin args from the stack ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Jun 4 22:36:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7a93efa50c777c4d0618a41f0c178edddc88db6
      https://github.com/llvm/llvm-project/commit/c7a93efa50c777c4d0618a41f0c178edddc88db6
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp

  Log Message:
  -----------
  [clang][bytecode] Pop builtin args from the stack while evaluating (#142832)

Instead of just peek()ing the values when evaluating the builtins and
later classify()ing all the call args once again to remove them, just do
it while evaluating. This saves quite a bit of code.



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