[all-commits] [llvm/llvm-project] b7d2c1: [LSR] Filter out zero factors. PR50765

Max Kazantsev via All-commits all-commits at lists.llvm.org
Tue Jun 22 21:14:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7d2c173ebbbd48342d498ebc8a1127dbc6d87b1
      https://github.com/llvm/llvm-project/commit/b7d2c173ebbbd48342d498ebc8a1127dbc6d87b1
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

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

  Log Message:
  -----------
  [LSR] Filter out zero factors. PR50765

Zero factor leads to division by zero and failure of corresponding
assert as shown in PR50765. We should filter out such factors.

Differential Revision: https://reviews.llvm.org/D104702
Reviewed By: huihuiz, reames




More information about the All-commits mailing list