diff --git a/llvm/docs/CommandGuide/llc.rst b/llvm/docs/CommandGuide/llc.rst index ffcccfbaefff..f26896783b12 100644 --- a/llvm/docs/CommandGuide/llc.rst +++ b/llvm/docs/CommandGuide/llc.rst @@ -140,12 +140,6 @@ End-user Options Record the amount of time needed for each pass and print a report to standard error. -.. option:: --load= - - Dynamically load ``dso_path`` (a path to a dynamically shared object) that - implements an LLVM target. This will permit the target name to be used with - the :option:`-march` option so that code can be generated for that target. - .. option:: -meabi=[default|gnu|4|5] Specify which EABI version should conform to. Valid EABI versions are *gnu*, diff --git a/llvm/docs/CommandGuide/lli.rst b/llvm/docs/CommandGuide/lli.rst index 8afe10db05d4..c69ecb0ecb66 100644 --- a/llvm/docs/CommandGuide/lli.rst +++ b/llvm/docs/CommandGuide/lli.rst @@ -43,11 +43,6 @@ GENERAL OPTIONS Print a summary of command line options. -.. option:: -load=pluginfilename - - Causes :program:`lli` to load the plugin (shared object) named *pluginfilename* and use - it for optimization. - .. option:: -stats Print statistics from the code-generation passes. This is only meaningful for diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 34ce2bc0622a..3174ed5a33ba 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -49,7 +49,6 @@ #include "llvm/Support/InitLLVM.h" #include "llvm/Support/PGOOptions.h" #include "llvm/Support/Path.h" -#include "llvm/Support/PluginLoader.h" #include "llvm/Support/SourceMgr.h" #include "llvm/Support/TargetSelect.h" #include "llvm/Support/TimeProfiler.h" diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 9bae77cc1033..dd00d080385b 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -60,7 +60,6 @@ #include "llvm/Support/Memory.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" -#include "llvm/Support/PluginLoader.h" #include "llvm/Support/Process.h" #include "llvm/Support/Program.h" #include "llvm/Support/SourceMgr.h"