Commit 153720a0 authored by River Riddle's avatar River Riddle
Browse files

[mlir][NFC] Move the interfaces and traits for side effects out of IR/ to Interfaces/

Summary:
Interfaces/ is the designated directory for these types of interfaces, and also removes the need for including them directly in IR/.

Differential Revision: https://reviews.llvm.org/D75886
parent 7ce1e7ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,4 +21,5 @@ target_link_libraries(toyc-ch2
    MLIRAnalysis
    MLIRIR
    MLIRParser
    MLIRSideEffects
    MLIRTransforms)
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#include "mlir/IR/Dialect.h"
#include "mlir/IR/Function.h"
#include "mlir/Interfaces/SideEffects.h"

namespace mlir {
namespace toy {
+1 −0
Original line number Diff line number Diff line
@@ -29,5 +29,6 @@ target_link_libraries(toyc-ch3
    MLIRIR
    MLIRParser
    MLIRPass
    MLIRSideEffects
    MLIRTransforms)
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#include "mlir/IR/Dialect.h"
#include "mlir/IR/Function.h"
#include "mlir/Interfaces/SideEffects.h"

namespace mlir {
namespace toy {
+1 −0
Original line number Diff line number Diff line
@@ -32,5 +32,6 @@ target_link_libraries(toyc-ch4
    MLIRIR
    MLIRParser
    MLIRPass
    MLIRSideEffects
    MLIRTransforms)
Loading