Skip to content
Commit 5bec30ca authored by Dan Gohman's avatar Dan Gohman
Browse files

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
parent 326b2fa0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment