]> granicus.if.org Git - llvm/commit
Revert "StructurizeCFG: Directly invert cmp instructions"
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Apr 2017 20:25:01 +0000 (20:25 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Apr 2017 20:25:01 +0000 (20:25 +0000)
commit47fbd9bc5d412dcaf1ba77bd28eb9a022cacd584
treede98c12c50899963859f3f67253beec38eec0ec4
parent6d9bf09a6ad395a181b2f35a61c8af909ab84260
Revert "StructurizeCFG: Directly invert cmp instructions"

This reverts commit r300732. This breaks a few tests.
I think the problem is related to adding more uses of
the condition that don't yet exist at this point.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301242 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/StructurizeCFG.cpp
test/CodeGen/AMDGPU/loop_break.ll
test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
test/CodeGen/AMDGPU/nested-loop-conditions.ll
test/CodeGen/AMDGPU/ret_jump.ll
test/Transforms/StructurizeCFG/invert-compare.ll [deleted file]
test/Transforms/StructurizeCFG/one-loop-multiple-backedges.ll
test/Transforms/StructurizeCFG/post-order-traversal-bug.ll