[all-commits] [llvm/llvm-project] a8a79c: [ConstraintElimination] Refactor constraint extrac...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Nov 18 06:00:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8a79c90699a7ae9dee07daf7281cbbd592bf6ea
      https://github.com/llvm/llvm-project/commit/a8a79c90699a7ae9dee07daf7281cbbd592bf6ea
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

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

  Log Message:
  -----------
  [ConstraintElimination] Refactor constraint extraction (NFC).

This patch generalizes the extraction of a constraint for a given
condition. It allows decompose to return a vector of c * X pairs, which
allows de-composing multiple instructions in the future.

It also adds more clarifying comments.




More information about the All-commits mailing list