diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-14 00:12:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-14 00:12:58 +0000 |
commit | 92c6bd2c45f0002385300a8aa298fa34ef9bff64 (patch) | |
tree | dd16f19893498c56fb5c75cb8d3b1ae9e31aebe2 /include | |
parent | bbdc8207d587026212e176026d3e37ae043a6661 (diff) | |
download | external_llvm-92c6bd2c45f0002385300a8aa298fa34ef9bff64.zip external_llvm-92c6bd2c45f0002385300a8aa298fa34ef9bff64.tar.gz external_llvm-92c6bd2c45f0002385300a8aa298fa34ef9bff64.tar.bz2 |
rewrite OptimizeAwayTrappingUsesOfLoads to 1) avoid a temporary
vector and extraneous loop over it, 2) not delete globals used by
phis/selects etc which could actually be useful. This fixes PR3321.
Many thanks to Duncan for narrowing this down.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62201 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions