[all-commits] [llvm/llvm-project] 55ec2b: Fix PR47973: Addressing integer division edge case...

RoboTux via All-commits all-commits at lists.llvm.org
Tue Nov 10 07:57:46 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 55ec2ba4bc36a0aa4c1d0bfddde312a120b05f1a
      https://github.com/llvm/llvm-project/commit/55ec2ba4bc36a0aa4c1d0bfddde312a120b05f1a
  Author: Ayshe Kuran <ayshek at ayshek-malt0.local>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M compiler-rt/lib/builtins/int_div_impl.inc

  Log Message:
  -----------
  Fix PR47973: Addressing integer division edge case with INT_MIN

Adjustment to integer division in int_div_impl.inc to avoid undefined behaviour that can occur as a result of having INT_MIN as one of the parameters.

Reviewed By: sepavloff

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




More information about the All-commits mailing list