[all-commits] [llvm/llvm-project] f71e32: [clang][bytecode] Implement constexpr step limit (...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Mon Feb 9 03:23:10 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f71e32196667264607974e22d28d3badb2d73b5e
https://github.com/llvm/llvm-project/commit/f71e32196667264607974e22d28d3badb2d73b5e
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M clang/lib/AST/ByteCode/Interp.cpp
M clang/lib/AST/ByteCode/InterpState.cpp
M clang/lib/AST/ByteCode/InterpState.h
A clang/test/AST/ByteCode/constexpr-steps.cpp
Log Message:
-----------
[clang][bytecode] Implement constexpr step limit (#176150)
This only calls `noteStep()` on jump opcodes, so this works for loops.
It does not prevent "hangs" when a function is just _very_ long (could
be interesting how this interfaces with expand statements?).
Fixes https://github.com/llvm/llvm-project/issues/165951
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