Skip to content

Commit

Permalink
[GlobalISel][NFC]Delete the comments of XXLegalizerInfo (llvm#76918)
Browse files Browse the repository at this point in the history
Delete the LegalizerInfo comments of AArch64/AMD64/ARM/M68k/RISCV/x86,
they are copied from register bank.
  • Loading branch information
shining1984 authored Jan 8, 2024
1 parent a90ed3e commit f22cde1
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ namespace llvm {

class AArch64Subtarget;

/// This class provides the information for the target register banks.
class AArch64LegalizerInfo : public LegalizerInfo {
public:
AArch64LegalizerInfo(const AArch64Subtarget &ST);
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class MachineIRBuilder;
namespace AMDGPU {
struct ImageDimIntrinsicInfo;
}
/// This class provides the information for the target register banks.
class AMDGPULegalizerInfo final : public LegalizerInfo {
const GCNSubtarget &ST;

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/ARM/ARMLegalizerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ namespace llvm {

class ARMSubtarget;

/// This class provides the information for the target register banks.
class ARMLegalizerInfo : public LegalizerInfo {
public:
ARMLegalizerInfo(const ARMSubtarget &ST);
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/M68k/GISel/M68kLegalizerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ namespace llvm {

class M68kSubtarget;

/// This struct provides the information for the target register banks.
struct M68kLegalizerInfo : public LegalizerInfo {
public:
M68kLegalizerInfo(const M68kSubtarget &ST);
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class GISelChangeObserver;
class MachineIRBuilder;
class RISCVSubtarget;

/// This class provides the information for the target register banks.
class RISCVLegalizerInfo : public LegalizerInfo {
const RISCVSubtarget &STI;
const unsigned XLen;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/X86/GISel/X86LegalizerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ namespace llvm {
class X86Subtarget;
class X86TargetMachine;

/// This class provides the information for the target register banks.
class X86LegalizerInfo : public LegalizerInfo {
private:
/// Keep a reference to the X86Subtarget around so that we can
Expand Down

0 comments on commit f22cde1

Please sign in to comment.