[all-commits] [llvm/llvm-project] 796b84: [DebugInfo][LoopStrengthReduction] SCEV-based salv...

chrisjbris via All-commits all-commits at lists.llvm.org
Tue Jul 27 06:28:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 796b84d26f4d461fb50e7b4e84e15a10eaca88fc
      https://github.com/llvm/llvm-project/commit/796b84d26f4d461fb50e7b4e84e15a10eaca88fc
  Author: Chris Jackson <chris.jackson at sony.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
    M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
    A llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
    A llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
    A llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
    A llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
    A llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll

  Log Message:
  -----------
  [DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR

This reapplies commit 76f3ffb2b285998f02639db8fd42fb0de8a540d0 that was
reverted due to buildbot failures.

- Update lit tests with REQUIRES condition.
- Abandon salvage attempt if SCEVUnknown::getValue() returns nullptr.

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




More information about the All-commits mailing list