[PATCH] D29424: [PPC] WIP - Add statistics for mem* fucntions

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 22:32:00 PST 2017


inouehrs added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:78
+
+// Stats related to expansion of memove calls.
+STATISTIC(NumMemmoveCalls, "Count of all memmove calls lowered");
----------------
a small nit: memove -> memmove


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:119
+    *Unaligned += 1;
+  else if (Align == 16)
+    *VectorAligned += 1;
----------------
Is `if (Align % 16 == 0)` better to support Align = 32, 64, ... ?


Repository:
  rL LLVM

https://reviews.llvm.org/D29424





More information about the llvm-commits mailing list