[all-commits] [llvm/llvm-project] c710bb: [Local] Prevent `invertCondition` from creating a ...

Ehud Katz via All-commits all-commits at lists.llvm.org
Fri May 29 11:08:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c710bb44a6b4b367b506ca2ef0f1d2af5a92feef
      https://github.com/llvm/llvm-project/commit/c710bb44a6b4b367b506ca2ef0f1d2af5a92feef
  Author: Ehud Katz <ehudkatz at gmail.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/StructurizeCFG/bug36015.ll
    M llvm/test/Transforms/StructurizeCFG/loop-multiple-exits.ll
    M llvm/test/Transforms/StructurizeCFG/one-loop-multiple-backedges.ll
    M llvm/test/Transforms/StructurizeCFG/post-order-traversal-bug.ll
    M llvm/test/Transforms/StructurizeCFG/workarounds/needs-fr-ule.ll

  Log Message:
  -----------
  [Local] Prevent `invertCondition` from creating a redundant instruction

Prevent `invertCondition` from creating the inversion instruction, in
case the given value is an argument which has already been inverted.
Note that this approach has already been taken in case the given value
is an instruction (and not an argument).

Differential Revision: https://reviews.llvm.org/D80399




More information about the All-commits mailing list