diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-05 15:47:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-05 15:47:16 +0000 |
commit | ac0630ff75c8bbcea3be24d945c37177f2403202 (patch) | |
tree | d3ff220789089f654111c5775be3f3df3dcef867 /test/Transforms | |
parent | b5884d311672a0d84c6b2627254001b27af45e2d (diff) | |
download | external_llvm-ac0630ff75c8bbcea3be24d945c37177f2403202.zip external_llvm-ac0630ff75c8bbcea3be24d945c37177f2403202.tar.gz external_llvm-ac0630ff75c8bbcea3be24d945c37177f2403202.tar.bz2 |
new testcase for a bug Jim found
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/LowerSetJmp/2005-05-05-OldUses.ll | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/Transforms/LowerSetJmp/2005-05-05-OldUses.ll b/test/Transforms/LowerSetJmp/2005-05-05-OldUses.ll new file mode 100644 index 0000000..72b756c --- /dev/null +++ b/test/Transforms/LowerSetJmp/2005-05-05-OldUses.ll @@ -0,0 +1,23 @@ +; RUN: llvm-as < %s | opt -lowersetjmp + %lldb.compile_unit = type { uint, ushort, ushort, sbyte*, sbyte*, sbyte*, { }* } +%d.compile_unit = external global %lldb.compile_unit ; <%lldb.compile_unit*> [#uses=1] + +implementation ; Functions: + +declare { }* %llvm.dbg.stoppoint({ }*, uint, uint, %lldb.compile_unit*) + +declare void %llvm.longjmp(int*, int) + +void %rb_iterate() { +entry: + br bool false, label %then.1, label %else.0 + +then.1: ; preds = %entry + call void %llvm.longjmp( int* null, int 0 ) + %dbg.tmp.57 = call { }* %llvm.dbg.stoppoint( { }* null, uint 5056, uint 0, %lldb.compile_unit* %d.compile_unit ) ; <{ }*> [#uses=1] + store { }* %dbg.tmp.57, { }** null + ret void + +else.0: ; preds = %entry + ret void +} |