[all-commits] [llvm/llvm-project] 779c05: [MC/DC] Create dedicated MCDCCondBitmapAddr for ea...

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Wed Jan 14 16:08:28 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 779c05a62548b694750be985d86fa193b0983fa7
      https://github.com/llvm/llvm-project/commit/779c05a62548b694750be985d86fa193b0983fa7
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CodeGenPGO.h
    M clang/lib/CodeGen/MCDCState.h
    M clang/test/Profile/c-mcdc-logicalop-ternary.c

  Log Message:
  -----------
  [MC/DC] Create dedicated MCDCCondBitmapAddr for each Decision (#125411)

MCDCCondBitmapAddr is moved from `CodeGenFunction` into `MCDCState` and
created for each Decision.

In `maybeCreateMCDCCondBitmap`, Allocate bitmaps for all valid Decisions
and emit them order by ID, to prevent nondeterminism.



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