Skip to content

Commit 50219c8

Browse files
authored
[PowerPC] [NFC] Refine PowerPC GISel files according to clang-tidy checks (#129780)
Code cleanup for PowerPC GISel files such as renaming header guards and removing unused includes.
1 parent 1073a23 commit 50219c8

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

llvm/lib/Target/PowerPC/GISel/PPCCallLowering.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#include "PPCISelLowering.h"
1818
#include "llvm/CodeGen/GlobalISel/CallLowering.h"
19-
#include "llvm/IR/CallingConv.h"
2019

2120
namespace llvm {
2221

llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
/// This file declares the targeting of the Machinelegalizer class for PowerPC
1010
//===----------------------------------------------------------------------===//
1111

12-
#ifndef LLVM_LIB_TARGET_POWERPC_GISEL_PPCMACHINELEGALIZER_H
13-
#define LLVM_LIB_TARGET_POWERPC_GISEL_PPCMACHINELEGALIZER_H
12+
#ifndef LLVM_LIB_TARGET_POWERPC_GISEL_PPCLEGALIZERINFO_H
13+
#define LLVM_LIB_TARGET_POWERPC_GISEL_PPCLEGALIZERINFO_H
1414

1515
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
1616

llvm/lib/Target/PowerPC/GISel/PPCRegisterBankInfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
///
1212
//===----------------------------------------------------------------------===//
1313

14-
#ifndef LLVM_LIB_TARGET_PPC_GISEL_PPCREGISTERBANKINFO_H
15-
#define LLVM_LIB_TARGET_PPC_GISEL_PPCREGISTERBANKINFO_H
14+
#ifndef LLVM_LIB_TARGET_POWERPC_GISEL_PPCREGISTERBANKINFO_H
15+
#define LLVM_LIB_TARGET_POWERPC_GISEL_PPCREGISTERBANKINFO_H
1616

1717
#include "llvm/CodeGen/RegisterBank.h"
1818
#include "llvm/CodeGen/RegisterBankInfo.h"

0 commit comments

Comments
 (0)