diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-11 02:53:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-11 02:53:57 +0000 |
commit | 99e129564595bd084687fb72673a6954a4ca1818 (patch) | |
tree | 9e1336f07ecd897838d75e2252f30ea4ecd6473a /llvm/tools/llvm-ld/Optimize.cpp | |
parent | 5ccfd5a48bf5d6e27ce0f38fac107d9095704767 (diff) | |
download | bcm5719-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