Checkin an improvement contributed by Bill:
authorChris Lattner <sabre@nondot.org>
Mon, 13 Oct 2003 00:57:16 +0000 (00:57 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Oct 2003 00:57:16 +0000 (00:57 +0000)
commitbb2d4de409f02d75ba43f64b6d9e446f3a910e70
treec2a119bf9260427e80740506a02fc2155f7c54d1
parent2ab6a7358e7788eae43b73a79e066322ef0a55d5
Checkin an improvement contributed by Bill:

Only transform call sites in a setjmp'ing function which are reachable from
the setjmp.  If the call dominates the setjmp (for example), the called
function cannot longjmp to the setjmp.

This dramatically reduces the number of invoke instructions created in some
large testcases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9066 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/LowerSetJmp.cpp