verify-uselistorder: Reverse use-lists at every verification
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 1 Aug 2014 23:49:41 +0000 (23:49 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 1 Aug 2014 23:49:41 +0000 (23:49 +0000)
commit1d3169155bcdf072f007edf6d909f476d95ca7da
tree5ca4a91b5e9ac2913b398e111bdb330d8622ed82
parent4277019a753ac6efbd1c4d5c9908f10f9404f697
verify-uselistorder: Reverse use-lists at every verification

Updated `verify-uselistorder` to more than double the number of use-list
orders it checks.

  - Every time it verifies an order, it then reverses the order and
    verifies again.

  - It now verifies the initial order, before running any shuffles.

Changed the default to `-num-shuffles=1`, since this is already four
checks, and after r214584 shuffling is guaranteed to make a new order.

This is part of PR5680.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214596 91177308-0d34-0410-b5e6-96231b3b80d8
tools/verify-uselistorder/verify-uselistorder.cpp