[all-commits] [llvm/llvm-project] 1e9a0a: SROA: Remove pointer from visited along with instr...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Fri Jun 5 12:47:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e9a0a4e04aa66f048ba791e25d32ce8c02a20a4
      https://github.com/llvm/llvm-project/commit/1e9a0a4e04aa66f048ba791e25d32ce8c02a20a4
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp

  Log Message:
  -----------
  SROA: Remove pointer from visited along with instruction

If an instruction is erased we also need to remove it from
Visited set. There is a very small chance that an another
newly created instruction will be created with the same
pointer value in place of an erased one.

Differential Revision: https://reviews.llvm.org/D80958




More information about the All-commits mailing list