[all-commits] [llvm/llvm-project] 5a4ca8: [ConstraintElimination] Add support for Or.

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Nov 16 13:49:35 PST 2020


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

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

  Log Message:
  -----------
  [ConstraintElimination] Add support for Or.

When processing conditional branches, if the condition is an OR of 2 compares
and the false successor only has the current block as predecessor, queue both
negated conditions for the false successor




More information about the All-commits mailing list