[PATCH] D28637: [PPC] Inline expansion of memcmp

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 08:02:01 PST 2017


jtony added inline comments.


================
Comment at: include/llvm/Target/TargetLowering.h:1002
+  /// return the limit for functions that have OptSize attribute.
+  unsigned getMaxLoadsPerMemcmp(bool OptSize) const {
+    return OptSize ? MaxLoadsPerMemcmpOptSize : MaxLoadsPerMemcmp;
----------------
This variable name sounds like an integer rather than a bool. But since this is NOT newly introduced (historical legacy  actually), I am OK to leave it as it is.


https://reviews.llvm.org/D28637





More information about the llvm-commits mailing list