[all-commits] [llvm/llvm-project] 0d8bdc: [MemProf] Record accesses for all words touched in...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Thu Sep 30 15:08:36 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0d8bdc17862e1c80edf1223282af3be786da4882
https://github.com/llvm/llvm-project/commit/0d8bdc17862e1c80edf1223282af3be786da4882
Author: Teresa Johnson <tejohnson at google.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
M compiler-rt/lib/memprof/memprof_rtl.cpp
M compiler-rt/test/memprof/TestCases/test_memintrin.cpp
M compiler-rt/test/memprof/TestCases/unaligned_loads_and_stores.cpp
Log Message:
-----------
[MemProf] Record accesses for all words touched in mem intrinsic
Previously for mem* intrinsics we only incremented the access count for
the first word in the range. However, after thinking it through I think
it makes more sense to record an access for every word in the range.
This better matches the behavior of inlined memory intrinsics, and also
allows better analysis of utilization at a future date.
Differential Revision: https://reviews.llvm.org/D110799
More information about the All-commits
mailing list