Revert "Analysis: unique_ptr-ify DependenceAnalysis::collectCoeffInfo"
[oota-llvm.git] / include / llvm / Analysis / DependenceAnalysis.h
index d032a418366fa32357275378de4904b95c5cbff2..a52d6a8ef2d8e6a07160e326a345509ba6078a0c 100644 (file)
@@ -766,10 +766,9 @@ namespace llvm {
     /// collectCoefficientInfo - Walks through the subscript,
     /// collecting each coefficient, the associated loop bounds,
     /// and recording its positive and negative parts for later use.
-    std::unique_ptr<CoefficientInfo[]>
-    collectCoeffInfo(const SCEV *Subscript,
-                     bool SrcFlag,
-                     const SCEV *&Constant) const;
+    CoefficientInfo *collectCoeffInfo(const SCEV *Subscript,
+                                      bool SrcFlag,
+                                      const SCEV *&Constant) const;
 
     /// getPositivePart - X^+ = max(X, 0).
     ///