aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-25 21:06:13 +0000
committerChris Lattner <sabre@nondot.org>2007-02-25 21:06:13 +0000
commit1cf55746369af7f1be476cc5c6805806a4bf225d (patch)
tree25d89d528825d8e529a05be780e8321c73f53b1d /lib/CodeGen/LiveVariables.cpp
parent2aef09a06b58516e96fd3d5003ffed03bec2792b (diff)
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
Diffstat (limited to 'lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions