[all-commits] [llvm/llvm-project] 06c7de: [LoopFusion][NFC] Avoid copying fusion candidates ...

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Thu Jun 11 23:17:52 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06c7de45221621a0773d125ff7d016df87eb3d62
      https://github.com/llvm/llvm-project/commit/06c7de45221621a0773d125ff7d016df87eb3d62
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp

  Log Message:
  -----------
  [LoopFusion][NFC] Avoid copying fusion candidates per pair (#203461)

`fuseCandidates()` copied both candidates (each holding two
`SmallVector<Instruction *, 16>`) for every adjacent pair examined, even
pairs rejected by an early continue. Bind them by const reference; they
are only read before being erased from the list, and performFusion runs
before the erases.



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