[all-commits] [llvm/llvm-project] c46be9: [MC] Optimize isInSection

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Apr 8 23:42:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c46be969f0b5f79788945da83dd4305617cff427
      https://github.com/llvm/llvm-project/commit/c46be969f0b5f79788945da83dd4305617cff427
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCSymbol.h

  Log Message:
  -----------
  [MC] Optimize isInSection

Remove one call of getFragment. The `SetUsed` bit isn't need here.



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