Skip to content

Commit 4ebec7a

Browse files
committed
Fix conflicts
1 parent d11e4e4 commit 4ebec7a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@ def XeGPU_TensorDesc: XeGPUTypeDef<"TensorDesc", "tensor_desc",
9494
"mlir::Type": $elementType,
9595
CArg<"int", "1">: $array_length,
9696
CArg<"bool", "true">: $boundary_check,
97-
CArg<"xegpu::MemorySpace", "xegpu::MemorySpace::Global">:$memory_space)>,
97+
CArg<"xegpu::MemorySpace", "xegpu::MemorySpace::Global">:$memory_space,
9898
CArg<"llvm::ArrayRef<uint32_t>", "{}">: $wi_layout,
99-
CArg<"llvm::ArrayRef<uint32_t>", "{}">: $wi_data
99+
CArg<"llvm::ArrayRef<uint32_t>", "{}">: $wi_data)>,
100100
TypeBuilderWithInferredContext<(ins
101101
"llvm::ArrayRef<int64_t>": $shape,
102102
"mlir::Type": $elementType,
103103
CArg<"int", "1">: $chunk_size,
104-
CArg<"xegpu::MemorySpace", "xegpu::MemorySpace::Global">:$memory_space)>,
104+
CArg<"xegpu::MemorySpace", "xegpu::MemorySpace::Global">:$memory_space,
105105
CArg<"llvm::ArrayRef<uint32_t>", "{}">: $wi_layout,
106-
CArg<"llvm::ArrayRef<uint32_t>", "{}">: $wi_data
106+
CArg<"llvm::ArrayRef<uint32_t>", "{}">: $wi_data)>
107107
];
108108

109109
let extraClassDeclaration = [{

mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ mlir::Type TensorDescType::parse(::mlir::AsmParser &parser) {
161161
sg_map = attr;
162162
continue;
163163
}
164-
if (mlir::isa<TensorDescAttr>(attr)) {
164+
if (mlir::isa<BlockTensorDescAttr>(attr)) {
165165
encoding = attr;
166166
continue;
167167
}

0 commit comments

Comments
 (0)