[all-commits] [llvm/llvm-project] ac4893: [NFC][PromoteMem2Reg] Move IncomingVals, IncomingL...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Jun 3 14:48:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac4893dd77eeb67be830b0dac70ad28c4b4f0caf
      https://github.com/llvm/llvm-project/commit/ac4893dd77eeb67be830b0dac70ad28c4b4f0caf
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

  Log Message:
  -----------
  [NFC][PromoteMem2Reg] Move IncomingVals, IncomingLocs, Worklist into class (#142468)

They are all DFS state related, as `Visited`. But `Visited` is already a
class member, so we make things more consistent and less
parameters to pass around.

By itself, the patch has little value, but it simplifies stuff in the
#142474.

For #142461



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