[clang] [clang][bytecode] Only count taken jumps as steps (PR #201845)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 7 20:57:32 PDT 2026


efriedma-quic wrote:

> we don't do anything like that at compile time.

We probably should.  (LLVM gets fancy with switch lowering, but even a simple binary search would solve the quadratic growth.)

That said, this patch is probably fine as-is for now.

https://github.com/llvm/llvm-project/pull/201845


More information about the cfe-commits mailing list