[all-commits] [llvm/llvm-project] a61c0a: [DebugInfo][LSR] Limit the size of SCEV translated...

chrisjbris via All-commits all-commits at lists.llvm.org
Thu Oct 7 08:38:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a61c0adba1944ef0792ecb4e5aa75072a240d5da
      https://github.com/llvm/llvm-project/commit/a61c0adba1944ef0792ecb4e5aa75072a240d5da
  Author: Chris Jackson <chris.jackson at sony.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    A llvm/test/Transforms/LoopStrengthReduce/pr51656.ll

  Log Message:
  -----------
  [DebugInfo][LSR] Limit the size of SCEV translated to DIExpression

SCEV-based salvaging will use excessive resources if it encounters
very long SCEV expressions. This patch places a limit on the length of
SCEV expression that salvaging will attempt to translate.

Reviewed by: Orlando

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




More information about the All-commits mailing list