diff options
| author | Tobias Grosser <tobias@grosser.es> | 2017-03-02 21:08:37 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2017-03-02 21:08:37 +0000 |
| commit | f818c3300b911cb6d1b59f0308af38117a7a81f8 (patch) | |
| tree | 776ce2bbd4b9f6660dd3ec498e8b9f147d358354 /llvm/test/Transforms/StructurizeCFG | |
| parent | ed28e742eed5efe338aa22d40559efe356ed193d (diff) | |
| download | bcm5719-llvm-f818c3300b911cb6d1b59f0308af38117a7a81f8.tar.gz bcm5719-llvm-f818c3300b911cb6d1b59f0308af38117a7a81f8.zip | |
Revert "Fix PR 24415 (at least), by making our post-dominator tree behavior sane."
and also "clang-format GenericDomTreeConstruction.h, since the current
formatting makes it look like their is a bug in the loop indentation, and there
is not"
This reverts commit r296535.
There are still some open design questions which I would like to discuss. I
revert this for Daniel (who gave the OK), as he is on vacation.
llvm-svn: 296812
Diffstat (limited to 'llvm/test/Transforms/StructurizeCFG')
| -rw-r--r-- | llvm/test/Transforms/StructurizeCFG/branch-on-argument.ll | 9 | ||||
| -rw-r--r-- | llvm/test/Transforms/StructurizeCFG/no-branch-to-entry.ll | 1 |
2 files changed, 3 insertions, 7 deletions
diff --git a/llvm/test/Transforms/StructurizeCFG/branch-on-argument.ll b/llvm/test/Transforms/StructurizeCFG/branch-on-argument.ll index cdd4b70592b..386994f1fd9 100644 --- a/llvm/test/Transforms/StructurizeCFG/branch-on-argument.ll +++ b/llvm/test/Transforms/StructurizeCFG/branch-on-argument.ll @@ -3,17 +3,14 @@ ; CHECK-LABEL: @invert_branch_on_arg_inf_loop( ; CHECK: entry: ; CHECK: %arg.inv = xor i1 %arg, true +; CHECK: phi i1 [ false, %Flow1 ], [ %arg.inv, %entry ] define void @invert_branch_on_arg_inf_loop(i32 addrspace(1)* %out, i1 %arg) { entry: - br i1 %arg, label %for.end, label %sesestart -sesestart: - br label %for.body + br i1 %arg, label %for.end, label %for.body for.body: ; preds = %entry, %for.body store i32 999, i32 addrspace(1)* %out, align 4 - br i1 %arg, label %for.body, label %seseend -seseend: - ret void + br label %for.body for.end: ; preds = %Flow ret void diff --git a/llvm/test/Transforms/StructurizeCFG/no-branch-to-entry.ll b/llvm/test/Transforms/StructurizeCFG/no-branch-to-entry.ll index cda890faa35..1db1060ca82 100644 --- a/llvm/test/Transforms/StructurizeCFG/no-branch-to-entry.ll +++ b/llvm/test/Transforms/StructurizeCFG/no-branch-to-entry.ll @@ -1,4 +1,3 @@ -; XFAIL: * ; RUN: opt -S -o - -structurizecfg -verify-dom-info < %s | FileCheck %s ; CHECK-LABEL: @no_branch_to_entry_undef( |

