[all-commits] [llvm/llvm-project] 781e5f: PowerPC: Avoid MCSymbol::isUnset

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Aug 3 20:17:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 781e5f0b5dc78305e5726d2118c1304f0229f36b
      https://github.com/llvm/llvm-project/commit/781e5f0b5dc78305e5726d2118c1304f0229f36b
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-08-03 (Sun, 03 Aug 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp

  Log Message:
  -----------
  PowerPC: Avoid MCSymbol::isUnset

"unset" is not a meaningful separae state and it will be merged into
"undefined".

https://reviews.llvm.org/D72570 ported a GAS hack that moves the label
when a prefixed instruction on the same source line needs automatic
alignment. However, we can used isDefined instead of isUnset.



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