summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld/Optimize.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-11 02:53:57 +0000
committerChris Lattner <sabre@nondot.org>2004-12-11 02:53:57 +0000
commit99e129564595bd084687fb72673a6954a4ca1818 (patch)
tree9e1336f07ecd897838d75e2252f30ea4ecd6473a /llvm/tools/llvm-ld/Optimize.cpp
parent5ccfd5a48bf5d6e27ce0f38fac107d9095704767 (diff)
downloadbcm5719-llvm-99e129564595bd084687fb72673a6954a4ca1818.tar.gz
bcm5719-llvm-99e129564595bd084687fb72673a6954a4ca1818.zip
Fix a bug where we could delete dead invoke instructions with uses.
In functions where we fully constant prop the return value, replace all ret instructions with 'ret undef'. llvm-svn: 18786
Diffstat (limited to 'llvm/tools/llvm-ld/Optimize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud