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/Support/APSInt.cpp | |
parent | 326b2fa03ed4715a4fccf2615dd6320528602dd0 (diff) | |
download | bcm5719-llvm-5bec30ca5d5d3d74f7cd899dbafed7b82ca4a3fc.tar.gz bcm5719-llvm-5bec30ca5d5d3d74f7cd899dbafed7b82ca4a3fc.zip |
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/Support/APSInt.cpp')
0 files changed, 0 insertions, 0 deletions