[all-commits] [llvm/llvm-project] 532940: [BBAddrMap] Drive Features and Metadata bits from ...

Haohai Wen via All-commits all-commits at lists.llvm.org
Tue May 26 22:26:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 532940bdee66bf5f36a70578698aab66f16919af
      https://github.com/llvm/llvm-project/commit/532940bdee66bf5f36a70578698aab66f16919af
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    A llvm/include/llvm/Object/BBAddrMap.def
    M llvm/include/llvm/Object/BBAddrMap.h

  Log Message:
  -----------
  [BBAddrMap] Drive Features and Metadata bits from BBAddrMap.def (#196906)

Move the bit name list of BBAddrMap::Features and BBAddrMap::BBEntry::Metadata
into a new BBAddrMap.def and derive the enum, bitfield, encode(), decode(),
and operator== from it. Adding a new bit now only requires one line in the
.def file.

Also expose BBAddrMap::Features::KnownMask for future use.



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