aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-15 03:14:06 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-15 03:14:06 +0000
commit8a7b84b4d042ea68342cf6cec87c35aeff7bf106 (patch)
tree955f1a28b9cfd361335f2abb80687920e692f91d /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parentfda02091e615ef5bfd24b96894aef72d674cfaaf (diff)
downloadllvm-8a7b84b4d042ea68342cf6cec87c35aeff7bf106.zip
llvm-8a7b84b4d042ea68342cf6cec87c35aeff7bf106.tar.gz
llvm-8a7b84b4d042ea68342cf6cec87c35aeff7bf106.tar.bz2
uselistorder: Remove the global bits
Remove all the global bits to do with preserving use-list order by moving the `cl::opt`s to the individual tools that want them. There's a minor functionality change to `libLTO`, in that you can't send in `-preserve-bc-uselistorder=false`, but making that bit settable (if it's worth doing) should be through explicit LTO API. As a drive-by fix, I removed some includes of `UseListOrder.h` that were made unnecessary by recent commits. llvm-svn: 234973
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
index ddb121a..3165743 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
@@ -15,7 +15,6 @@
#include "llvm/Bitcode/ReaderWriter.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
-#include "llvm/IR/UseListOrder.h"
#include "llvm/Pass.h"
using namespace llvm;