diff --git a/mlir/unittests/Dialect/Affine/Analysis/AffineStructuresParser.cpp b/mlir/unittests/Dialect/Affine/Analysis/AffineStructuresParser.cpp deleted file mode 100644 --- a/mlir/unittests/Dialect/Affine/Analysis/AffineStructuresParser.cpp +++ /dev/null @@ -1,25 +0,0 @@ -//===- AffineStructuresParser.cpp - Parser for AffineStructures -*- C++ -*-===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#include "./AffineStructuresParser.h" -#include "mlir/AsmParser/AsmParser.h" -#include "mlir/IR/IntegerSet.h" - -using namespace mlir; -using namespace presburger; - -FailureOr -mlir::parseIntegerSetToFAC(llvm::StringRef str, MLIRContext *context, - bool printDiagnosticInfo) { - IntegerSet set = parseIntegerSet(str, context, printDiagnosticInfo); - - if (!set) - return failure(); - - return FlatAffineValueConstraints(set); -}