[all-commits] [llvm/llvm-project] 3ba3ea: [IVUsers] Check getExpr result in findAddRecForLoop.

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jul 20 06:56:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ba3ea3c0695547c2adb3cdf63528cb54270ff45
      https://github.com/llvm/llvm-project/commit/3ba3ea3c0695547c2adb3cdf63528cb54270ff45
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M llvm/lib/Analysis/IVUsers.cpp
    M llvm/test/Transforms/LoopStrengthReduce/X86/pr62660-normalization-failure.ll

  Log Message:
  -----------
  [IVUsers] Check getExpr result in findAddRecForLoop.

This fixes a crash if the SCEV for the use isn't invertible and nullptr
is returned.

Fixes https://github.com/llvm/llvm-project/issues/63840




More information about the All-commits mailing list