summaryrefslogtreecommitdiff
path: root/mlir/unittests
diff options
context:
space:
mode:
authorMatthias Springer <springerm@google.com>2023-04-20 11:02:05 +0900
committerMatthias Springer <springerm@google.com>2023-04-20 11:19:21 +0900
commit4c48f016effde67d500fc95290096aec9f3bdb70 (patch)
treef8fe2bb32a5dbc047576998c390e10160165c9e4 /mlir/unittests
parentfbc63e5658f67036d4ea57940459074d9ecdd2d8 (diff)
downloadllvm-4c48f016effde67d500fc95290096aec9f3bdb70.tar.gz
[mlir][Affine][NFC] Wrap dialect in "affine" namespace
This cleanup aligns the affine dialect with all the other dialects. Differential Revision: https://reviews.llvm.org/D148687
Diffstat (limited to 'mlir/unittests')
-rw-r--r--mlir/unittests/Analysis/Presburger/Parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/unittests/Analysis/Presburger/Parser.h b/mlir/unittests/Analysis/Presburger/Parser.h
index e80267c5adae..c2c63730056e 100644
--- a/mlir/unittests/Analysis/Presburger/Parser.h
+++ b/mlir/unittests/Analysis/Presburger/Parser.h
@@ -30,7 +30,7 @@ namespace presburger {
/// represents a valid IntegerSet.
inline IntegerPolyhedron parseIntegerPolyhedron(StringRef str) {
MLIRContext context(MLIRContext::Threading::DISABLED);
- return FlatAffineValueConstraints(parseIntegerSet(str, &context));
+ return affine::FlatAffineValueConstraints(parseIntegerSet(str, &context));
}
/// Parse a list of StringRefs to IntegerRelation and combine them into a