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 | 2538eb664caafda8ee05bf1334f4e660001f7120 (patch) | |
| tree | 83cca67ad7684e5b824040c8b1ec9fa07a93a606 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | e725ff12638d9370ef09daf2bc5d7d06e1694c9d (diff) | |
| download | llvm-2538eb664caafda8ee05bf1334f4e660001f7120.zip llvm-2538eb664caafda8ee05bf1334f4e660001f7120.tar.gz llvm-2538eb664caafda8ee05bf1334f4e660001f7120.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.
llvm-svn: 62201
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
