diff options
| author | Dan Gohman <gohman@apple.com> | 2009-10-30 23:15:21 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-10-30 23:15:21 +0000 |
| commit | 5bec30ca5d5d3d74f7cd899dbafed7b82ca4a3fc (patch) | |
| tree | 535d9413c70e6fbbbe350a766e31973a7460c44f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 326b2fa03ed4715a4fccf2615dd6320528602dd0 (diff) | |
| download | llvm-5bec30ca5d5d3d74f7cd899dbafed7b82ca4a3fc.zip llvm-5bec30ca5d5d3d74f7cd899dbafed7b82ca4a3fc.tar.gz llvm-5bec30ca5d5d3d74f7cd899dbafed7b82ca4a3fc.tar.bz2 | |
Optimize around the fact that pred_iterator is slow: instead of sorting
PHI operands by the predecessor order, sort them by the order used by the
first PHI in the block. This is still suffucient to expose duplicates.
llvm-svn: 85634
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
