diff options
Diffstat (limited to 'lib/Transforms/Scalar/ConstantProp.cpp')
-rw-r--r-- | lib/Transforms/Scalar/ConstantProp.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/ConstantProp.cpp b/lib/Transforms/Scalar/ConstantProp.cpp index 0f1d0aea32..a8dbe3ff95 100644 --- a/lib/Transforms/Scalar/ConstantProp.cpp +++ b/lib/Transforms/Scalar/ConstantProp.cpp @@ -219,6 +219,12 @@ namespace { return Modified; } + + virtual void getAnalysisUsage(AnalysisUsage &AU) const { + // FIXME: This pass does not preserve the CFG because it folds terminator + // instructions! + //AU.preservesCFG(); + } }; } |