Lett users of sparse propagation do their own thing with phi nodes if they want
[oota-llvm.git] / include / llvm / Analysis / SparsePropagation.h
index cc655aa85fdf8d9ef18ab3129ee87e9baa16b239..820e1bd1e436bab49e1c110be4579205837ab54f 100644 (file)
@@ -72,6 +72,12 @@ public:
   virtual LatticeVal ComputeConstant(Constant *C) {
     return getOverdefinedVal(); // always safe
   }
+
+  /// IsSpecialCasedPHI - Given a PHI node, determine whether this PHI node is
+  /// one that the we want to handle through ComputeInstructionState.
+  virtual bool IsSpecialCasedPHI(PHINode *PN) {
+    return false;
+  }
   
   /// GetConstant - If the specified lattice value is representable as an LLVM
   /// constant value, return it.  Otherwise return null.  The returned value