[all-commits] [llvm/llvm-project] 0b28d7: [ConstraintElimination] Add support for EQ predica...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Feb 1 12:54:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b28d756af183b9f294ddca5432a0ad5054ac9c2
      https://github.com/llvm/llvm-project/commit/0b28d756af183b9f294ddca5432a0ad5054ac9c2
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

  Log Message:
  -----------
  [ConstraintElimination] Add support for EQ predicates.

A == B map to A >= B && A <= B
(https://alive2.llvm.org/ce/z/_dwxKn).

This extends the constraint construction to return a list of
constraints, which can be used to properly de-compose nested AND & OR.




More information about the All-commits mailing list