Chris Lattner 50be7cd320 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.

llvm-svn: 34608
2007-02-25 21:06:13 +00:00
..
2007-02-23 18:05:55 +00:00
2007-02-19 07:44:24 +00:00
2007-02-15 03:39:18 +00:00
2007-02-15 02:26:10 +00:00
2007-02-25 20:01:40 +00:00