[clang] [clang][bytecode] Optimize enum value range checks (PR #139672)

2025-05-13 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/139672 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Optimize enum value range checks (PR #139672)

2025-05-12 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes Only do the work if we really have to. --- Full diff: https://github.com/llvm/llvm-project/pull/139672.diff 2 Files Affected: - (modified) clang/lib/AST/ByteCode/Interp.cpp (+2-3) - (modified) clang/lib/A

[clang] [clang][bytecode] Optimize enum value range checks (PR #139672)

2025-05-12 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/139672 Only do the work if we really have to. Rate limit ยท GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSy