[all-commits] [llvm/llvm-project] 8d506b: PeepholeOpt: Simplify tracking of current op for c...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jan 30 05:50:06 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d506b9a5b7cfc9f6f574fc31ac2a013a8dd606a
      https://github.com/llvm/llvm-project/commit/8d506b9a5b7cfc9f6f574fc31ac2a013a8dd606a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

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

  Log Message:
  -----------
  PeepholeOpt: Simplify tracking of current op for copy and reg_sequence (#124224)

Set the starting index in the constructor instead of treating
0 as a special case. There should also be no need for bounds
checking in the rewrite.



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