Skip to content

Commit 6167e9f

Browse files
Martien de Jongmartien-de-jong
authored andcommitted
[AIE1][NFC] Move AIE1 frame lowering to aie1/
Also adjust copyrights and change include guards following the name change
1 parent 99d07a2 commit 6167e9f

34 files changed

+99
-105
lines changed

llvm/lib/Target/AIE/AIE2FrameLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010
//

llvm/lib/Target/AIE/AIE2ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010
//

llvm/lib/Target/AIE/AIE2Subtarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010
//

llvm/lib/Target/AIE/AIEBaseFrameLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010
//

llvm/lib/Target/AIE/AIEBaseISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010
//

llvm/lib/Target/AIE/AIEBasePipelinerLoopInfo.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010
//
@@ -13,11 +13,8 @@
1313
//===----------------------------------------------------------------------===//
1414

1515
#include "AIEBasePipelinerLoopInfo.h"
16-
#include "AIE2.h"
17-
#include "AIE2InstrInfo.h"
18-
#include "MCTargetDesc/AIE2MCTargetDesc.h"
16+
#include "AIEBaseInstrInfo.h"
1917
#include "Utils/AIELoopUtils.h"
20-
#include "llvm/Analysis/LoopIterator.h"
2118
#include "llvm/CodeGen/MachineBasicBlock.h"
2219
#include "llvm/CodeGen/MachineInstrBuilder.h"
2320
#include "llvm/CodeGen/MachineOperand.h"

llvm/lib/Target/AIE/AIECallLowering.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010
//
@@ -17,10 +17,11 @@
1717
#include "AIECallLowering.h"
1818
#include "AIEBaseISelLowering.h"
1919
#include "AIEBaseInstrInfo.h"
20+
#include "AIEBaseRegisterInfo.h"
21+
#include "AIEBaseSubtarget.h"
2022
#include "AIEMachineFunctionInfo.h"
2123
#include "MCTargetDesc/AIE2MCTargetDesc.h"
2224
#include "MCTargetDesc/AIEMCTargetDesc.h"
23-
#include "aie1/AIE1Subtarget.h"
2425
#include "llvm/ADT/SmallVector.h"
2526
#include "llvm/CodeGen/Analysis.h"
2627
#include "llvm/CodeGen/CallingConvLower.h"

llvm/lib/Target/AIE/AIECombinerHelper.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010

1111
#include "AIECombinerHelper.h"
1212
#include "AIE.h"
1313
#include "AIE2TargetMachine.h"
1414
#include "AIEBaseInstrInfo.h"
15-
#include "AIETargetMachine.h"
1615
#include "MCTargetDesc/AIE2MCTargetDesc.h"
1716
#include "llvm/ADT/SetVector.h"
1817
#include "llvm/Analysis/VectorUtils.h"

llvm/lib/Target/AIE/AIEISelDAGToDAG.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010
//
@@ -14,8 +14,8 @@
1414
#ifndef LLVM_LIB_TARGET_AIE_AIEISELDAGTODAG_H
1515
#define LLVM_LIB_TARGET_AIE_AIEISELDAGTODAG_H
1616
#include "AIE.h"
17-
#include "AIETargetMachine.h"
1817
#include "MCTargetDesc/AIEMCTargetDesc.h"
18+
#include "aie1/AIE1TargetMachine.h"
1919
#include "llvm/CodeGen/MachineFrameInfo.h"
2020
#include "llvm/CodeGen/SelectionDAGISel.h"
2121
#include "llvm/Support/Debug.h"

llvm/lib/Target/AIE/AIEMachineAlignment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7-
// (c) Copyright 2023-2024 Advanced Micro Devices, Inc. or its affiliates
7+
// (c) Copyright 2023-2025 Advanced Micro Devices, Inc. or its affiliates
88
//
99
//===----------------------------------------------------------------------===//
1010

0 commit comments

Comments
 (0)