summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Dialect/GPU
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2019-11-28 11:50:47 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-11-28 11:51:23 -0800
commit2f16bf7ac9de4d525fda2916e801e23f456d8b82 (patch)
tree7362f50f7dddb56b46493405c467e71c220d06c1 /mlir/lib/Dialect/GPU
parent0494ef60f71abc09dbeed568ef0c5ee09d292bbb (diff)
downloadbcm5719-llvm-2f16bf7ac9de4d525fda2916e801e23f456d8b82.tar.gz
bcm5719-llvm-2f16bf7ac9de4d525fda2916e801e23f456d8b82.zip
Split out FunctionLike printing/parsing into FunctionImplementation.{h,cpp}
Helper utilies for parsing and printing FunctionLike Ops are only relevant to the implementation of the Op, not its definition. They depend on OpImplementation.h and increase the inclusion footprint of FunctionSupport.h, and do so only to provide some utilities in the "impl" namespace. Move them to a separate files, similarly to OpDefinition/OpImplementation distinction, and make only Op implementations use them while keeping headers cleaner. NFC. PiperOrigin-RevId: 282964556
Diffstat (limited to 'mlir/lib/Dialect/GPU')
-rw-r--r--mlir/lib/Dialect/GPU/IR/GPUDialect.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mlir/lib/Dialect/GPU/IR/GPUDialect.cpp b/mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
index 5fc1cade760..8d84fadae8a 100644
--- a/mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
+++ b/mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
@@ -24,6 +24,7 @@
#include "mlir/Dialect/StandardOps/Ops.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/Function.h"
+#include "mlir/IR/FunctionImplementation.h"
#include "mlir/IR/Module.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/PatternMatch.h"
OpenPOWER on IntegriCloud