[ISel] Keep matching state consistent when folding during X86 address match
[oota-llvm.git] / include / llvm / CodeGen / SelectionDAGISel.h
index 4d6e8423e6f31a569be935e27eefd99802505131..6c756495db5ad23e3758ded9db0cb72e4ca93725 100644 (file)
@@ -239,6 +239,12 @@ public:
                            const unsigned char *MatcherTable,
                            unsigned TableSize);
 
+  /// \brief Return true if complex patterns for this target can mutate the
+  /// DAG.
+  virtual bool ComplexPatternFuncMutatesDAG() const {
+    return false;
+  }
+
 private:
 
   // Calls to these functions are generated by tblgen.