[all-commits] [llvm/llvm-project] aff6ab: [clang][bytecode] Surround bcp condition with Star...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Mar 8 10:37:42 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aff6ab9d90d23c46bc5f4b909d54bfa9c95c9f03
      https://github.com/llvm/llvm-project/commit/aff6ab9d90d23c46bc5f4b909d54bfa9c95c9f03
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-03-08 (Sat, 08 Mar 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/test/AST/ByteCode/builtin-constant-p.cpp

  Log Message:
  -----------
  [clang][bytecode] Surround bcp condition with Start/EndSpeculation (#130427)

This is similar to what the current interpreter is doing - the
FoldConstant RAII object surrounds the entire HandleConditionalOperator
call, which means the condition and both TrueExpr or FalseExpr.



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