[all-commits] [llvm/llvm-project] 116dc7: [DebugInfo][LSR] Add more stringent checks on IV s...

chrisjbris via All-commits all-commits at lists.llvm.org
Tue Nov 9 05:14:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 116dc70cf3717eab495d80e4d78afe02fe6285ba
      https://github.com/llvm/llvm-project/commit/116dc70cf3717eab495d80e4d78afe02fe6285ba
  Author: Chris Jackson <chris.jackson at sony.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

  Log Message:
  -----------
  [DebugInfo][LSR] Add more stringent checks on IV selection and salvage
attempts

Prevent the selection of IVs that have a SCEV containing an undef. Also
prevent salvaging attempts for values for which a SCEV could not be
created by ScalarEvolution and have only SCEVUknown.

Reviewed by: Orlando

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




More information about the All-commits mailing list