[all-commits] [llvm/llvm-project] 71c49d: [ConstraintElim] Move check-and-replace logic to h...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Oct 13 10:59:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71c49d189a0fcd6d3a19e1b3049deceb0d262adb
      https://github.com/llvm/llvm-project/commit/71c49d189a0fcd6d3a19e1b3049deceb0d262adb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

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

  Log Message:
  -----------
  [ConstraintElim] Move check-and-replace logic to helper function (NFC).

Move logic to check and replace conditions to a helper function. This
isolates the code, allows using early returns, reduces the
indentation and simplifies eliminateConstraints.




More information about the All-commits mailing list