[all-commits] [llvm/llvm-project] 626f6e: [ConstraintElim] Fix integer overflow in getConstr...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Apr 20 08:14:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 626f6ee7f8f15391de7c4f259e82e701aa1ec20b
      https://github.com/llvm/llvm-project/commit/626f6ee7f8f15391de7c4f259e82e701aa1ec20b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    A llvm/test/Transforms/ConstraintElimination/overflows.ll

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

Use SubOverflow to avoid signed integer overflow when combining
coefficients.

Fixes #62226.




More information about the All-commits mailing list