[PATCH] D41078: [ARM] Register the Thumb2SizeReducePass

Evgeny Astigeevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 04:19:48 PST 2017


eastig added inline comments.


================
Comment at: lib/Target/ARM/Thumb2SizeReduction.cpp:166
 
-    Thumb2SizeReduce(std::function<bool(const Function &)> Ftor);
+    Thumb2SizeReduce(std::function<bool(const Function &)> Ftor = nullptr);
 
----------------
Why do we need an empty function by default?


https://reviews.llvm.org/D41078





More information about the llvm-commits mailing list