aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Maggioni <hayarms@gmail.com>2020-03-08 10:55:21 -0700
committerMarcello Maggioni <hayarms@gmail.com>2020-03-09 10:52:28 -0700
commita8f76e99ba5966adc82afd98cea5d6239c1501ac (patch)
tree3f3ceecd79e11c4d76af4dbba2ca25bde9784c08
parente5205074df0e9304e564316be7494c3572aaedb6 (diff)
downloadllvm-a8f76e99ba5966adc82afd98cea5d6239c1501ac.zip
llvm-a8f76e99ba5966adc82afd98cea5d6239c1501ac.tar.gz
llvm-a8f76e99ba5966adc82afd98cea5d6239c1501ac.tar.bz2
Fix indentation using clang-format for Spiller.h. NFC
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
-rw-r--r--llvm/include/llvm/CodeGen/Spiller.h41
1 files changed, 20 insertions, 21 deletions
diff --git a/llvm/include/llvm/CodeGen/Spiller.h b/llvm/include/llvm/CodeGen/Spiller.h
index 66dabf78..a693d64 100644
--- a/llvm/include/llvm/CodeGen/Spiller.h
+++ b/llvm/include/llvm/CodeGen/Spiller.h
@@ -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