[all-commits] [llvm/llvm-project] e39bbe: [ConstraintElimination] Add test cases from PR49819.

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Feb 3 03:09:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e39bbe9a8355b7dc610fac7a55dec0c63ff22e32
      https://github.com/llvm/llvm-project/commit/e39bbe9a8355b7dc610fac7a55dec0c63ff22e32
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M llvm/test/Transforms/ConstraintElimination/dom.ll

  Log Message:
  -----------
  [ConstraintElimination] Add test cases from PR49819.


  Commit: 413e47ecd4476aec29699bcbd8425461a8821c80
      https://github.com/llvm/llvm-project/commit/413e47ecd4476aec29699bcbd8425461a8821c80
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

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

  Log Message:
  -----------
  [ConstraintElimination] Handle degenerate case with branch to same dest.

When a conditional branch has the same block as both true and false
successor it is not safe to add the condition.

Fixes PR49819.


Compare: https://github.com/llvm/llvm-project/compare/31373fb88a0a...413e47ecd447


More information about the All-commits mailing list