[PATCH] D110799: [MemProf] Record accesses for all words touched in mem intrinsic

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 20:01:41 PDT 2021


tejohnson added inline comments.


================
Comment at: compiler-rt/test/memprof/TestCases/test_memintrin.cpp:40
 
-  memset(p, 1, 10);
-  memcpy(q, p, 5);
-  int x = memcmp(p, q, 5);
+  memset(p, 1, 10 * sizeof(int));
+  memcpy(q, p, 5 * sizeof(int));
----------------
Fixed the size on these calls to what was intended, since I had to update the access counts anyway


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110799



More information about the llvm-commits mailing list