[PATCH] D28542: llc: Initialize more passes
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 17:21:18 PST 2017
arsenm created this revision.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: wdng.
Targets can add these. Initialize them so -print-before/-print-after etc. work.
https://reviews.llvm.org/D28542
Files:
tools/llc/llc.cpp
Index: tools/llc/llc.cpp
===================================================================
--- tools/llc/llc.cpp
+++ tools/llc/llc.cpp
@@ -267,6 +267,8 @@
initializeCountingFunctionInserterPass(*Registry);
initializeUnreachableBlockElimLegacyPassPass(*Registry);
initializeConstantHoistingLegacyPassPass(*Registry);
+ initializeScalarOpts(*Registry);
+ initializeVectorization(*Registry);
// Register the target printer for --version.
cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28542.83903.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170111/61e16fe5/attachment.bin>
More information about the llvm-commits
mailing list