[all-commits] [llvm/llvm-project] 015093: [GVN] Improve processBlock for instruction erasure...

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Tue May 6 01:25:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 015093d628d9461be1f7f5707c47f8ae7e8eb742
      https://github.com/llvm/llvm-project/commit/015093d628d9461be1f7f5707c47f8ae7e8eb742
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/GVN.h
    M llvm/lib/Transforms/Scalar/GVN.cpp

  Log Message:
  -----------
  [GVN] Improve processBlock for instruction erasure (#131753)

This patch deletes the instructions immediately in core GVN processing by using the appropriate
iterators. Thus, it avoids collecting the instructions in a vector and then
doing the erasure.



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