[llvm-commits] CVS: llvm/test/Regression/Transforms/LowerSetJmp/2003-11-05-DominanceProperties.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 5 16:07:02 PST 2003
Changes in directory llvm/test/Regression/Transforms/LowerSetJmp:
2003-11-05-DominanceProperties.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+16 -0)
Index: llvm/test/Regression/Transforms/LowerSetJmp/2003-11-05-DominanceProperties.ll
diff -c /dev/null llvm/test/Regression/Transforms/LowerSetJmp/2003-11-05-DominanceProperties.ll:1.1
*** /dev/null Wed Nov 5 16:06:14 2003
--- llvm/test/Regression/Transforms/LowerSetJmp/2003-11-05-DominanceProperties.ll Wed Nov 5 16:06:03 2003
***************
*** 0 ****
--- 1,16 ----
+ ; RUN: llvm-as < %s | opt -lowersetjmp -disable-output
+ %struct.jmpenv = type { int, sbyte }
+
+ implementation
+
+ declare void %Perl_sv_setpv()
+ declare int %llvm.setjmp(int *)
+
+ void %perl_call_sv() {
+ call void %Perl_sv_setpv( )
+ %tmp.335 = getelementptr %struct.jmpenv* null, long 0, ubyte 0
+ %tmp.336 = call int %llvm.setjmp( int* null )
+ store int %tmp.336, int* %tmp.335
+ ret void
+ }
+
More information about the llvm-commits
mailing list