Fix a problem that lower invoke has with allocas (PR6694), and
authorChris Lattner <sabre@nondot.org>
Mon, 26 Apr 2010 23:49:32 +0000 (23:49 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Apr 2010 23:49:32 +0000 (23:49 +0000)
commitc6f0aadc3b4f7e79bd3f4e59b1192f770fc63a5d
treeb6b31c6e52903cb8ec261e4fcc592868c27a41a8
parentd61647d306bc297603c607411b2777b217cd65b6
Fix a problem that lower invoke has with allocas (PR6694), and
add a version of createLowerInvokePass that allows the client
to specify whether it wants "expensive" or "cheap" lowering.

Patch by Alex Mac!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102402 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar.h
lib/Transforms/Utils/LowerInvoke.cpp