teach ipsccp and ipconstprop that a blockaddress doesn't 'take the address' of a...
authorChris Lattner <sabre@nondot.org>
Sun, 1 Nov 2009 06:11:53 +0000 (06:11 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Nov 2009 06:11:53 +0000 (06:11 +0000)
commitb2710041fbed34ae888a6fed4172aea92bced1b5
tree50d3cafef4ad8bc95ca5fbb0e3141525eab1c2c3
parent882029269e0cf4b497993b8e9a754429ef035fac
teach ipsccp and ipconstprop that a blockaddress doesn't 'take the address' of a function
in a way that should prevent ip constprop.  This allows clang/test/CodeGen/indirect-goto.c
to pass with the new indirect goto lowering.

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