aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2020-11-17 00:38:10 -0800
committerRiver Riddle <riddleriver@gmail.com>2020-11-17 00:55:47 -0800
commit73ca690df88ad5df77afe29b984720963ee37183 (patch)
tree2f0c2e814c96dc118901f3a3aac2a5911a104cf1 /mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
parentc51e4c4f012d89b8693c79ec855769e7e18b55a1 (diff)
downloadllvm-73ca690df88ad5df77afe29b984720963ee37183.zip
llvm-73ca690df88ad5df77afe29b984720963ee37183.tar.gz
llvm-73ca690df88ad5df77afe29b984720963ee37183.tar.bz2
[mlir][NFC] Remove references to Module.h and Function.h
These includes have been deprecated in favor of BuiltinDialect.h, which contains the definitions of ModuleOp and FuncOp. Differential Revision: https://reviews.llvm.org/D91572
Diffstat (limited to 'mlir/lib/Transforms/LoopInvariantCodeMotion.cpp')
-rw-r--r--mlir/lib/Transforms/LoopInvariantCodeMotion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/LoopInvariantCodeMotion.cpp b/mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
index 18c8257..1c5f9f3 100644
--- a/mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
+++ b/mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
@@ -14,7 +14,7 @@
#include "mlir/Transforms/Passes.h"
#include "mlir/IR/Builders.h"
-#include "mlir/IR/Function.h"
+#include "mlir/IR/BuiltinDialect.h"
#include "mlir/Interfaces/LoopLikeInterface.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Transforms/LoopUtils.h"