[all-commits] [llvm/llvm-project] c0a8fb: [CodeGen] Use std::bitset for MachineFunctionPrope...

aengelke via All-commits all-commits at lists.llvm.org
Thu Jun 6 08:13:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0a8fb2120c6cf1e3006d6cc45eccef6fb5069f5
      https://github.com/llvm/llvm-project/commit/c0a8fb2120c6cf1e3006d6cc45eccef6fb5069f5
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFunction.h

  Log Message:
  -----------
  [CodeGen] Use std::bitset for MachineFunctionProperties (#94627)

The size of the properties is fixed, so no need for a BitVector.
Assigning small, fixed-size bitsets is faster.

It's a minor performance improvement.



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