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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jan 23 19:41:37 PST 2025


  Branch: refs/heads/users/arsenm/peephole-opt-simplify-reg-sequence-iteration
  Home:   https://github.com/llvm/llvm-project
  Commit: 5092973f8640de1323594a63338e20aee0a3fe89
      https://github.com/llvm/llvm-project/commit/5092973f8640de1323594a63338e20aee0a3fe89
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-01-24 (Fri, 24 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