[all-commits] [llvm/llvm-project] 0a0181: [ConstraintElim] Fix integer overflow in Constrain...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Apr 21 08:10:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a0181dc2061fc60b309f231a5b2f6251046c552
      https://github.com/llvm/llvm-project/commit/0a0181dc2061fc60b309f231a5b2f6251046c552
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/ConstraintSystem.h
    M llvm/lib/Analysis/ConstraintSystem.cpp
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/overflows.ll

  Log Message:
  -----------
  [ConstraintElim] Fix integer overflow in ConstraintSystem::negate.

This fixes another integer overflow that was exposed by a variant of the
test case from #62226.




More information about the All-commits mailing list