diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-11-30 00:31:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-11-30 00:31:16 +0000 |
| commit | 889e91d58dfcd95a09ab8d393248617041b9da1a (patch) | |
| tree | 654808e41a757ecf65a467a9c5dcdf9e70cb522a /llvm | |
| parent | 389cfac0d19edc6e91097dfd3815caa42788bf66 (diff) | |
| download | bcm5719-llvm-889e91d58dfcd95a09ab8d393248617041b9da1a.tar.gz bcm5719-llvm-889e91d58dfcd95a09ab8d393248617041b9da1a.zip | |
New testcase for simplifycfg
llvm-svn: 18367
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll b/llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll new file mode 100644 index 00000000000..db397a7e64d --- /dev/null +++ b/llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br + +void %foo(bool %C, int* %P) { + br bool %C, label %T, label %F +T: + store int 7, int* %P + ret void +F: + store int 7, int* %P + ret void +} |

