[llvm-commits] CVS: llvm/test/Regression/Transforms/LowerSetJmp/simpletest.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Oct 23 10:58:00 PDT 2003
Changes in directory llvm/test/Regression/Transforms/LowerSetJmp:
simpletest.ll updated: 1.2 -> 1.3
---
Log message:
fix test
---
Diffs of the changes: (+3 -0)
Index: llvm/test/Regression/Transforms/LowerSetJmp/simpletest.ll
diff -u llvm/test/Regression/Transforms/LowerSetJmp/simpletest.ll:1.2 llvm/test/Regression/Transforms/LowerSetJmp/simpletest.ll:1.3
--- llvm/test/Regression/Transforms/LowerSetJmp/simpletest.ll:1.2 Tue Sep 16 10:29:39 2003
+++ llvm/test/Regression/Transforms/LowerSetJmp/simpletest.ll Thu Oct 23 10:57:45 2003
@@ -8,12 +8,15 @@
declare void %llvm.longjmp(%JmpBuf *%B, int %Val)
declare int %llvm.setjmp(%JmpBuf *%B)
+declare void %foo()
+
int %simpletest() {
%B = alloca %JmpBuf
%Val = call int %llvm.setjmp(%JmpBuf* %B)
%V = cast int %Val to bool
br bool %V, label %LongJumped, label %Normal
Normal:
+ call void %foo()
call void %llvm.longjmp(%JmpBuf* %B, int 42)
ret int 0 ;; not reached
LongJumped:
More information about the llvm-commits
mailing list