summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ExactHazardRecognizer.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-30 23:15:21 +0000
committerDan Gohman <gohman@apple.com>2009-10-30 23:15:21 +0000
commit5bec30ca5d5d3d74f7cd899dbafed7b82ca4a3fc (patch)
tree535d9413c70e6fbbbe350a766e31973a7460c44f /llvm/lib/CodeGen/ExactHazardRecognizer.cpp
parent326b2fa03ed4715a4fccf2615dd6320528602dd0 (diff)
downloadbcm5719-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/CodeGen/ExactHazardRecognizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud