1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/include
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
..
llvm Rework GlobalValue::removeDeadConstantUsers to always remove dead constant 2007-02-25 21:06:13 +00:00
llvm-c Add C wrappers for the LTO library (PR1081). Patch by Chandler Carruth! 2007-01-06 23:53:43 +00:00