[all-commits] [llvm/llvm-project] 1689c3: [ConstraintElim] Allow and check preconditions in ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jun 29 01:18:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1689c357ae8059d238f28f587047e7f010910d6e
      https://github.com/llvm/llvm-project/commit/1689c357ae8059d238f28f587047e7f010910d6e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

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

  Log Message:
  -----------
  [ConstraintElim] Allow and check preconditions in doesHold.

Delegate checking of the constraint & its preconditions to the existing
::isValid. This reduces duplication and allows additional optimizations
together with D152730.




More information about the All-commits mailing list