[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2004-02-08-UnwindSupport.llx
John Criswell
criswell at cs.uiuc.edu
Wed Oct 19 11:51:22 PDT 2005
Changes in directory llvm/test/Regression/CodeGen/Generic:
2004-02-08-UnwindSupport.llx added (r1.1)
---
Log message:
This is a generic test for all code generators. It originally came from
Regression/Codegen/X86.
---
Diffs of the changes: (+13 -0)
2004-02-08-UnwindSupport.llx | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/test/Regression/CodeGen/Generic/2004-02-08-UnwindSupport.llx
diff -c /dev/null llvm/test/Regression/CodeGen/Generic/2004-02-08-UnwindSupport.llx:1.1
*** /dev/null Wed Oct 19 13:51:18 2005
--- llvm/test/Regression/CodeGen/Generic/2004-02-08-UnwindSupport.llx Wed Oct 19 13:51:08 2005
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | llc -enable-correct-eh-support
+
+ int %test() {
+ unwind
+ }
+
+ int %main() {
+ %X = invoke int %test() to label %cont except label %EH
+ cont:
+ ret int 1
+ EH:
+ ret int 0
+ }
More information about the llvm-commits
mailing list