PassInfo keep tracks whether a pass is an analysis pass or not.
[oota-llvm.git] / lib / Target / TargetData.cpp
index 64332a0df56e50f874f207dfa35b048d0868c6f7..0a98fb790d66861ed435a52dca22b594ab2ca3f1 100644 (file)
@@ -33,7 +33,8 @@ using namespace llvm;
 // Handle the Pass registration stuff necessary to use TargetData's.
 namespace {
   // Register the default SparcV9 implementation...
-  RegisterPass<TargetData> X("targetdata", "Target Data Layout");
+  RegisterPass<TargetData> X("targetdata", "Target Data Layout", false, 
+                             true);
 }
 char TargetData::ID = 0;