Skip to content

Commit

Permalink
Fix indentation using clang-format for Spiller.h. NFC
Browse files Browse the repository at this point in the history
Spiller.h had indentation that doesn't match LLVM guidelines. Fixing it

Reviewers: qcolombet, arsenm

Subscribers: MatzeB, wdng, hiraditya, llvm-commits, qcolombet

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75830
  • Loading branch information
Kariddi committed Mar 9, 2020
1 parent e520507 commit a8f76e9
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions llvm/include/llvm/CodeGen/Spiller.h
Expand Up @@ -16,27 +16,26 @@ class MachineFunction;
class MachineFunctionPass;
class VirtRegMap;

/// Spiller interface.
///
/// Implementations are utility classes which insert spill or remat code on
/// demand.
class Spiller {
virtual void anchor();

public:
virtual ~Spiller() = 0;

/// spill - Spill the LRE.getParent() live interval.
virtual void spill(LiveRangeEdit &LRE) = 0;

virtual void postOptimization() {}
};

/// Create and return a spiller that will insert spill code directly instead
/// of deferring though VirtRegMap.
Spiller *createInlineSpiller(MachineFunctionPass &pass,
MachineFunction &mf,
VirtRegMap &vrm);
/// Spiller interface.
///
/// Implementations are utility classes which insert spill or remat code on
/// demand.
class Spiller {
virtual void anchor();

public:
virtual ~Spiller() = 0;

/// spill - Spill the LRE.getParent() live interval.
virtual void spill(LiveRangeEdit &LRE) = 0;

virtual void postOptimization() {}
};

/// Create and return a spiller that will insert spill code directly instead
/// of deferring though VirtRegMap.
Spiller *createInlineSpiller(MachineFunctionPass &pass, MachineFunction &mf,
VirtRegMap &vrm);

} // end namespace llvm

Expand Down

0 comments on commit a8f76e9

Please sign in to comment.