[all-commits] [llvm/llvm-project] fa5eb2: [NFC] Assert non-zero factor before division

max-azul via All-commits all-commits at lists.llvm.org
Fri Jun 18 01:51:23 PDT 2021


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

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

  Log Message:
  -----------
  [NFC] Assert non-zero factor before division

This is to ensure that zero denominator leads to controlled
assertion failure rather than UB.




More information about the All-commits mailing list