[PATCH] D12293: Rework of the interface to enable shrink wrapping

Kit Barton via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 10:37:57 PDT 2015


kbarton marked 7 inline comments as done.
kbarton added a comment.

Addressed Quentin's comments. I"ll commit this shortly.


================
Comment at: lib/CodeGen/ShrinkWrap.cpp:156
@@ +155,3 @@
+  /// \brief Check if shrink wrapping is enabled for this target and function
+  bool isShrinkWrapEnabled(const MachineFunction &MF) const;
+  
----------------
qcolombet wrote:
> Could be a static method.
I've made it static, and dropped the const qualifier as a result.


http://reviews.llvm.org/D12293





More information about the llvm-commits mailing list