[llvm] a8f76e9 - Fix indentation using clang-format for Spiller.h. NFC
Marcello Maggioni via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 9 10:52:59 PDT 2020
Author: Marcello Maggioni
Date: 2020-03-09T10:52:28-07:00
New Revision: a8f76e99ba5966adc82afd98cea5d6239c1501ac
URL: https://github.com/llvm/llvm-project/commit/a8f76e99ba5966adc82afd98cea5d6239c1501ac
DIFF: https://github.com/llvm/llvm-project/commit/a8f76e99ba5966adc82afd98cea5d6239c1501ac.diff
LOG: 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
Added:
Modified:
llvm/include/llvm/CodeGen/Spiller.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/Spiller.h b/llvm/include/llvm/CodeGen/Spiller.h
index 66dabf78f873..a693d64858f9 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
More information about the llvm-commits
mailing list