Skip to content

Commit 340e31b

Browse files
Martien de Jongmartien-de-jong
authored andcommitted
[AIE1][NFC] Move aie1 td files to subdir
1 parent 631130e commit 340e31b

File tree

9 files changed

+8
-14
lines changed

9 files changed

+8
-14
lines changed

llvm/lib/Target/AIE/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
77
add_llvm_component_group(AIE)
88

9-
set(LLVM_TARGET_DEFINITIONS AIE.td)
9+
set(LLVM_TARGET_DEFINITIONS aie1/AIE1.td)
1010

1111
tablegen(LLVM AIEGenAsmMatcher.inc -gen-asm-matcher)
1212
tablegen(LLVM AIEGenAsmWriter.inc -gen-asm-writer)

llvm/lib/Target/AIE/AIE.td renamed to llvm/lib/Target/AIE/aie1/AIE1.td

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,17 @@ def ptr0 : PtrValueType<i20, 0>;
2222
// Registers, calling conventions, instruction descriptions.
2323
//===----------------------------------------------------------------------===//
2424

25-
include "AIERegisterInfo.td"
26-
include "AIESchedule.td"
27-
include "AIECallingConv.td"
28-
include "AIEInstrInfo.td"
29-
include "AIERegisterBanks.td"
25+
include "aie1/AIE1RegisterInfo.td"
26+
include "aie1/AIE1Schedule.td"
27+
include "aie1/AIE1CallingConv.td"
28+
include "aie1/AIE1InstrInfo.td"
29+
include "aie1/AIE1RegisterBanks.td"
3030

3131
class AIEGenericInstruction : GenericInstruction {
3232
let Namespace = "AIE";
3333
}
3434
include "AIEInstrGISel.td"
3535

36-
//===----------------------------------------------------------------------===//
37-
// Named operands for CSR instructions.
38-
//===----------------------------------------------------------------------===//
39-
40-
//include "AIESystemOperands.td"
41-
4236
//===----------------------------------------------------------------------===//
4337
// AIEngine processors supported.
4438
//===----------------------------------------------------------------------===//

llvm/lib/Target/AIE/AIEInstrInfo.td renamed to llvm/lib/Target/AIE/aie1/AIE1InstrInfo.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ def call_symbol : Operand<i32> {
171171
let ParserMatchClass = CallSymbol;
172172
}
173173

174-
include "AIEInstrFormats.td"
175-
include "AIECompositeFormats.td"
174+
include "aie1/AIE1InstrFormats.td"
175+
include "aie1/AIE1CompositeFormats.td"
176176

177177
// Patterns for Vector registers with different types.
178178
def V16I8: PatLeaf<(v16i8 VEC128:$R)>;
File renamed without changes.

0 commit comments

Comments
 (0)