diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-14 20:03:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-14 20:03:04 +0000 |
commit | 808b9b6cdfcf68ceb623e32ac16b34fa65f4dd07 (patch) | |
tree | 79867049854ff469cbf3517fde25bee851c0debc | |
parent | 7163447b9df1e011503961884352d25db25d2076 (diff) |
Add new test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@576 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/inssel1.ll | 8 | ||||
-rw-r--r-- | test/inssel2.ll | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/test/inssel1.ll b/test/inssel1.ll new file mode 100644 index 0000000000..58aa634346 --- /dev/null +++ b/test/inssel1.ll @@ -0,0 +1,8 @@ +implementation + +void "foo"(int * %x, int * %y) +begin +; <label>:0 ;[#uses=0] + seteq int * %x, %y ; <bool>:0 [#uses=0] + ret void +end diff --git a/test/inssel2.ll b/test/inssel2.ll new file mode 100644 index 0000000000..e2df8ad46c --- /dev/null +++ b/test/inssel2.ll @@ -0,0 +1,14 @@ +implementation + +void "foo"(int * %x, int * %y) +begin +; <label>:0 ;[#uses=1] + br label %Top + +Top: ;[#uses=4] + phi int [ 0, %0 ], [ 1, %Top ], [ 2, %Next ] ; <int>:0 [#uses=0] + br bool true, label %Top, label %Next + +Next: ;[#uses=2] + br label %Top +end |