[all-commits] [llvm/llvm-project] 1a314b: PeepholeOpt: Fix copy current source index account...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jan 31 06:17:54 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a314b2472a834466e728533ac8b540b1d0d9304
      https://github.com/llvm/llvm-project/commit/1a314b2472a834466e728533ac8b540b1d0d9304
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

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

  Log Message:
  -----------
  PeepholeOpt: Fix copy current source index accounting bug

We were essentially using the current source index as a binary
value, and didn't actually use it for indexing so it did not
matter. Use the operand to ensure the value is actually correct.



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