[all-commits] [llvm/llvm-project] 9fd7a2: [ConstraintElimination] Use constraints with 0 or ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jan 27 10:42:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fd7a2e37917ce1aee379caa016ee6439dc30057
      https://github.com/llvm/llvm-project/commit/9fd7a2e37917ce1aee379caa016ee6439dc30057
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/empty-constraint.ll

  Log Message:
  -----------
  [ConstraintElimination] Use constraints with 0 or 1 coefficients.

isConditionImplied is able to correctly handle 0 or 1 coefficients, so
let it handle those cases, rather than skipping them.




More information about the All-commits mailing list