[all-commits] [llvm/llvm-project] c59d95: [ConstraintElimination] Check if const. is small e...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Apr 26 05:58:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c59d95f6a47c81e0f9eae37625b6ee14022e06a2
      https://github.com/llvm/llvm-project/commit/c59d95f6a47c81e0f9eae37625b6ee14022e06a2
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    R llvm/test/Transforms/ConstraintElimination/i128.ll
    A llvm/test/Transforms/ConstraintElimination/large-constant-ints.ll

  Log Message:
  -----------
  [ConstraintElimination] Check if const. is small enough before using it

Check if the value of a ConstantInt is small enough to be used for
solving before calling getSExtValue.

Fixes #55085




More information about the All-commits mailing list