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

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


  Branch: refs/heads/users/arsenm/peephole-opt-simplify-reg-sequence-iteration
  Home:   https://github.com/llvm/llvm-project
  Commit: e96ce8b05c768954c1c847cd6264147560fe7ece
      https://github.com/llvm/llvm-project/commit/e96ce8b05c768954c1c847cd6264147560fe7ece
  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

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