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)
commit4b4d8ecde10a5be00a95bd7767ecd7519eef8dc2
tree6a85c9ddb7df63c43faf2e7f900ee5c5199312f7
parent29459ae83c8177c858f459a6392fdad37cbc1ef4
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.

llvm-svn: 213957
13 files changed:
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/LinkAllPasses.h
llvm/include/llvm/Transforms/IPO.h
llvm/lib/Transforms/IPO/CMakeLists.txt
llvm/lib/Transforms/IPO/IPO.cpp
llvm/test/Bitcode/use-list-order.ll
llvm/test/CMakeLists.txt
llvm/test/lit.cfg
llvm/tools/CMakeLists.txt
llvm/tools/llvm-uselistorder/CMakeLists.txt [new file with mode: 0644]
llvm/tools/llvm-uselistorder/LLVMBuild.txt [new file with mode: 0644]
llvm/tools/llvm-uselistorder/Makefile [new file with mode: 0644]
llvm/tools/llvm-uselistorder/llvm-uselistorder.cpp [moved from llvm/lib/Transforms/IPO/VerifyUseListOrder.cpp with 87% similarity]