[PATCH] D75830: Move Spiller.h from lib/ directory path to include/CodeGen. NFC

Marcello Maggioni via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 11:19:55 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa8f76e99ba59: Fix indentation using clang-format for Spiller.h. NFC Spiller.h had indentation… (authored by kariddi).

Changed prior to commit:
  https://reviews.llvm.org/D75830?vs=249013&id=249170#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75830/new/

https://reviews.llvm.org/D75830

Files:
  llvm/include/llvm/CodeGen/Spiller.h


Index: llvm/include/llvm/CodeGen/Spiller.h
===================================================================
--- llvm/include/llvm/CodeGen/Spiller.h
+++ llvm/include/llvm/CodeGen/Spiller.h
@@ -16,27 +16,26 @@
 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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75830.249170.patch
Type: text/x-patch
Size: 1537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200309/8a81b8da/attachment.bin>


More information about the llvm-commits mailing list