[all-commits] [llvm/llvm-project] 6b7e65: [CodeGen] Simplify finalizeBundle. NFC. (#139234)

Jay Foad via All-commits all-commits at lists.llvm.org
Fri May 9 08:11:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b7e65a1115bbeb4d881d2ac0a3adaa86d47d598
      https://github.com/llvm/llvm-project/commit/6b7e65a1115bbeb4d881d2ac0a3adaa86d47d598
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M llvm/lib/CodeGen/MachineInstrBundle.cpp

  Log Message:
  -----------
  [CodeGen] Simplify finalizeBundle. NFC. (#139234)

Use all_uses and all_defs instead of separate Defs vector. Use
SmallSetVector instead of separate SmallSet and SmallVector. Remove
unneeded `Added` set. Fold FrameSetup/FrameDestroy into the main loop
instead of doing a separate loop over the bundled instructions.



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