diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-03 21:42:06 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-03 21:42:06 +0000 |
| commit | ee06b752f09611656044a7d19ad1b5a68dfc6b77 (patch) | |
| tree | e27815c529d7ee80c632616c2f74aa29bee59fcd /llvm/test/CodeGen/Generic | |
| parent | 6c5d61ca099dc8997a65af6c308cb98ad5e4ec0e (diff) | |
| download | bcm5719-llvm-ee06b752f09611656044a7d19ad1b5a68dfc6b77.tar.gz bcm5719-llvm-ee06b752f09611656044a7d19ad1b5a68dfc6b77.zip | |
PR4317: Handle splits where the new block is unreachable correctly in
DominatorTreeBase::Split.
llvm-svn: 72810
Diffstat (limited to 'llvm/test/CodeGen/Generic')
| -rw-r--r-- | llvm/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll b/llvm/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll new file mode 100644 index 00000000000..59e7d0c7a8f --- /dev/null +++ b/llvm/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll @@ -0,0 +1,15 @@ +; RUN: llvm-as < %s | llc +; PR4317 + +declare i32 @b() + +define void @a() { +entry: + ret void + +dummy: + invoke i32 @b() to label %reg unwind label %reg + +reg: + ret void +} |

