[polly] r298529 - [DeLICM] Remove overloaded Knowledge constructor. NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 11:01:24 PDT 2017


Author: meinersbur
Date: Wed Mar 22 13:01:23 2017
New Revision: 298529

URL: http://llvm.org/viewvc/llvm-project?rev=298529&view=rev
Log:
[DeLICM] Remove overloaded Knowledge constructor. NFC.

The isl C++ bindings now has implicit conversions from isl::set to
isl::union_set. Therefore the additional overload accepting isl::set
is not required anymore.

Modified:
    polly/trunk/lib/Transform/DeLICM.cpp

Modified: polly/trunk/lib/Transform/DeLICM.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/DeLICM.cpp?rev=298529&r1=298528&r2=298529&view=diff
==============================================================================
--- polly/trunk/lib/Transform/DeLICM.cpp (original)
+++ polly/trunk/lib/Transform/DeLICM.cpp Wed Mar 22 13:01:23 2017
@@ -509,12 +509,6 @@ public:
     checkConsistency();
   }
 
-  /// Alternative constructor taking isl_sets instead isl_union_sets.
-  Knowledge(isl::set Occupied, isl::set Unused, isl::set Written)
-      : Knowledge(give(isl_union_set_from_set(Occupied.take())),
-                  give(isl_union_set_from_set(Unused.take())),
-                  give(isl_union_set_from_set(Written.take()))) {}
-
   /// Return whether this object was not default-constructed.
   bool isUsable() const { return (Occupied || Unused) && Written; }
 




More information about the llvm-commits mailing list