Chris Lattner 1cf5574636 Rework GlobalValue::removeDeadConstantUsers to always remove dead constant
exprs hanging off a global, even if the global is not otherwise dead.  This
requires some tricky iterator gymnastics.

This implements Transforms/GlobalOpt/constantexpr-dangle.ll by deleting a
constantexpr that made it appear that the address of the function was taken.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34608 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 21:06:13 +00:00
..
2007-02-15 02:26:10 +00:00
2007-02-20 07:18:01 +00:00
2007-02-15 03:39:18 +00:00
2007-02-20 05:31:04 +00:00
2007-02-12 05:00:35 +00:00
2007-02-15 02:26:10 +00:00