diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 8de49c08a7e..f6fccbe8aab 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -211,7 +211,7 @@ int main(int argc, char **argv) { LLVMContext &Context = getGlobalContext(); llvm_shutdown_obj Y; // Call llvm_shutdown() on exit. - // Initialize targets first. + // Initialize targets first, so that --version shows registered targets. InitializeAllTargets(); InitializeAllAsmPrinters();