From 2626dba9c5515d2e534c117bb16ceb03dd4d0930 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 3 Aug 2011 22:18:20 +0000 Subject: Remove the LowerSetJmp pass. It wasn't used effectively by any of the targets. This is some of my original LLVM code. *wipes tear* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136821 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/Passes.html | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'docs/Passes.html') diff --git a/docs/Passes.html b/docs/Passes.html index b7f70b91cb..9393410a36 100644 --- a/docs/Passes.html +++ b/docs/Passes.html @@ -161,7 +161,6 @@ perl -e '$/ = undef; for (split(/\n/, <>)) { s:^ *///? ?::; print "

\n" if ! -loop-unswitchUnswitch loops -loweratomicLower atomic intrinsics to non-atomic form -lowerinvokeLower invoke and unwind, for unwindless code generators --lowersetjmpLower Set Jump -lowerswitchLower SwitchInst's to branches -mem2regPromote Memory to Register -memcpyoptMemCpy Optimization @@ -1476,35 +1475,6 @@ if (X < 3) {

- -

- -lowersetjmp: Lower Set Jump -

-
-

- Lowers setjmp and longjmp to use the LLVM invoke and unwind - instructions as necessary. -

- -

- Lowering of longjmp is fairly trivial. We replace the call with a - call to the LLVM library function __llvm_sjljeh_throw_longjmp(). - This unwinds the stack for us calling all of the destructors for - objects allocated on the stack. -

- -

- At a setjmp call, the basic block is split and the setjmp - removed. The calls in a function that have a setjmp are converted to - invoke where the except part checks to see if it's a longjmp - exception and, if so, if it's handled in the function. If it is, then it gets - the value returned by the longjmp and goes to where the basic block - was split. invoke instructions are handled in a similar fashion with - the original except block being executed if it isn't a longjmp - except that is handled by that function. -

-
-

-lowerswitch: Lower SwitchInst's to branches -- cgit v1.2.3