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)
commita5a8d3f6f226e870cd66febf081ec236204412d2
treeebafd230232c349c0c805a2987180160c4800c7e
parent9a2017bfc37a84a1837fed5939236f5a8567ba5c
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.

llvm-svn: 214596
llvm/tools/verify-uselistorder/verify-uselistorder.cpp