Skip to content

Commit a17d925

Browse files
-- This commit bumps IREE to iree-org/iree@402a9be46a. -- As part of the same it :- a. [removes "dangling" builders](iree-org/iree#21364) b. [adds explicit cast](iree-org/iree#21494) c. [adds explicit result type of enum](llvm/llvm-project#150308) Signed-off-by: Abhishek Varma <[email protected]>
1 parent 2d9807d commit a17d925

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

compiler/plugins/target/AMD-AIE/aie/AIEOps.td

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -639,10 +639,6 @@ def AIE_ObjectFifoSubviewAccessOp : AIE_Op<"objectfifo.subview.access"> {
639639
let assemblyFormat = [{
640640
$subview `[` $index `]` attr-dict `:` type($subview) `->` type($output)
641641
}];
642-
643-
let builders = [
644-
OpBuilder<(ins "mlir::Value":$subview, "size_t":$index)>
645-
];
646642
}
647643

648644
// mlir-air legacy

compiler/plugins/target/AMD-AIE/iree-amd-aie/IR/AMDAIEOps.td

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,9 +1414,7 @@ def AMDAIE_LogicalObjectFifoFromMemrefOp
14141414
$memref `,``{` $tiles `}` attr-dict `:` type($memref) `->` type($output)
14151415
}];
14161416

1417-
// Build a LogicalObjectFifoFromMemrefOp with just a memref value.
14181417
let builders = [
1419-
OpBuilder<(ins "mlir::Value":$memref)>,
14201418
// Build `LogicalObjectFifoFromMemrefOp` with an array of static tile
14211419
// locations.
14221420
OpBuilder<

compiler/plugins/target/AMD-AIE/iree-amd-aie/Target/XCLBinGen.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
#include "iree-dialects/Dialect/LinalgTransform/Passes.h"
2424
#include "iree/compiler/Utils/ToolUtils.h"
2525
#include "llvm/ADT/StringRef.h"
26+
#include "llvm/IR/LLVMContext.h"
27+
#include "llvm/IR/Module.h"
2628
#include "llvm/Support/Debug.h"
2729
#include "llvm/Support/FileSystem.h"
2830
#include "llvm/Support/JSON.h"

compiler/plugins/target/AMD-AIE/iree-amd-aie/Transforms/AMDAIEInsertLoopsForVectorization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class AMDAIEInsertLoopsForVectorizationPass
117117
} else {
118118
rewriter.eraseOp(genericOp);
119119
}
120-
genericOp = result->resultOp;
120+
genericOp = cast<linalg::GenericOp>(result->resultOp);
121121
return;
122122
}
123123

runtime/src/iree-amd-aie/aie_runtime/iree_aie_router.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ struct PhysPortType {
9292
};
9393

9494
struct PhysPort {
95-
enum Direction { SRC, DST };
95+
enum Direction : uint8_t { SRC, DST };
9696
TileLoc tileLoc;
9797
Port port;
9898
Direction direction;

third_party/iree

Submodule iree updated 472 files

0 commit comments

Comments
 (0)