llvm-project/llvm/test/Transforms/StructurizeCFG
Matt Arsenault d3406bc45c StructurizeCFG: Directly invert cmp instructions
The most common case for a branch condition is
a single use compare. Directly invert the branch
predicate rather than adding a lot of xor i1 true
which the DAG will have to fold later.

This produces nicer to read structurizer output.

This produces some random changes in codegen
due to the DAG swapping branch conditions itself,
and then does a poor job of dealing with those
inverts.

llvm-svn: 300732
2017-04-19 18:29:07 +00:00
..
branch-on-argument.ll Revert "Fix PR 24415 (at least), by making our post-dominator tree behavior sane." 2017-03-02 21:08:37 +00:00
invert-compare.ll StructurizeCFG: Directly invert cmp instructions 2017-04-19 18:29:07 +00:00
invert-constantexpr.ll StructurizeCFG: Fix inverting constantexpr conditions 2016-07-15 22:13:16 +00:00
loop-multiple-exits.ll
nested-loop-order.ll
no-branch-to-entry.ll Revert "Fix PR 24415 (at least), by making our post-dominator tree behavior sane." 2017-03-02 21:08:37 +00:00
one-loop-multiple-backedges.ll StructurizeCFG: Directly invert cmp instructions 2017-04-19 18:29:07 +00:00
post-order-traversal-bug.ll StructurizeCFG: Directly invert cmp instructions 2017-04-19 18:29:07 +00:00
rebuild-ssa-infinite-loop.ll AMDGPU: Remove llvm.SI.vs.load.input 2017-04-03 21:45:13 +00:00
switch.ll