UseListOrder: Guarantee that shuffles change use-list order
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 1 Aug 2014 22:50:04 +0000 (22:50 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 1 Aug 2014 22:50:04 +0000 (22:50 +0000)
commit6d3adac2179bc7867f55d108111ec38877b8b7c0
tree82ed744fe713be7fa183ec60fa11395aef4b352b
parent608fb390a82ed953cbd6a75be224fa1703f0412a
UseListOrder: Guarantee that shuffles change use-list order

Change shuffleUseLists() always to change use-list order by rejecting
orders that have no changes.

This is part of PR5680.

llvm-svn: 214584
llvm/lib/IR/UseListOrder.cpp