[clang] [clang] [sanitizer] predict trap checks succeed (PR #134310)

Florian Mayer via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 22 17:12:02 PDT 2025


fmayer wrote:

> Last time I checks, if the branch endup with unreachable, compiler can figure it out as UNLIKELY. So PR like this is effectively NOP.

I built tcmalloc with and without this change and get different codegen

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


More information about the cfe-commits mailing list