Move -verify-use-list-order into llvm-uselistorder
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 25 Jul 2014 17:13:03 +0000 (17:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 25 Jul 2014 17:13:03 +0000 (17:13 +0000)
commit2602b66b91ee31362fac5e9dce31b22b9596dab8
tree20e3a2f1f15a317006471f58632a4c8540281da9
parentfcfd56262b1cc06518f2323de541e4de99e93e46
Move -verify-use-list-order into llvm-uselistorder

Ugh.  Turns out not even transformation passes link in how to read IR.
I sincerely believe the buildbots will finally agree with my system
after this though.  (I don't really understand why all of this has been
working on my system, but not on all the buildbots.)

Create a new tool called llvm-uselistorder to use for verifying use-list
order.  For now, just dump everything from the (now defunct)
-verify-use-list-order pass into the tool.

This might be a better way to test use-list order anyway.

Part of PR5680.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213957 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/InitializePasses.h
include/llvm/LinkAllPasses.h
include/llvm/Transforms/IPO.h
lib/Transforms/IPO/CMakeLists.txt
lib/Transforms/IPO/IPO.cpp
lib/Transforms/IPO/VerifyUseListOrder.cpp [deleted file]
test/Bitcode/use-list-order.ll
test/CMakeLists.txt
test/lit.cfg
tools/CMakeLists.txt
tools/llvm-uselistorder/CMakeLists.txt [new file with mode: 0644]
tools/llvm-uselistorder/LLVMBuild.txt [new file with mode: 0644]
tools/llvm-uselistorder/Makefile [new file with mode: 0644]
tools/llvm-uselistorder/llvm-uselistorder.cpp [new file with mode: 0644]