[all-commits] [llvm/llvm-project] 4ceecc: [ConstraintElimination] Handle constraints with al...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Dec 5 04:07:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ceecc820b7197c2f302aa235875eb6619a397c3
      https://github.com/llvm/llvm-project/commit/4ceecc820b7197c2f302aa235875eb6619a397c3
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-12-05 (Sat, 05 Dec 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/ConstraintSystem.h
    M llvm/lib/Analysis/ConstraintSystem.cpp
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    A llvm/test/Transforms/ConstraintElimination/empty-constraint.ll

  Log Message:
  -----------
  [ConstraintElimination] Handle constraints with all zero var coeffs.

Constraints where all variable coefficients are 0 do not add any useful
information. When checking, we can check if they are always true/false.




More information about the All-commits mailing list