[PATCH] D20578: [esan|wset] Iterate all memory to compute the total working set
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu May 26 10:46:56 PDT 2016
vitalybuka added inline comments.
================
Comment at: lib/esan/working_set.cpp:87
@@ +86,3 @@
+ u32 ByteValue = 0x1 << BitIdx;
+ u32 WordValue = ByteValue | ByteValue << 8 | ByteValue << 16 |
+ ByteValue << 24;
----------------
Is this the same as?
u32 WordValue = 0x01010101 << BitIdx;
http://reviews.llvm.org/D20578
More information about the llvm-commits
mailing list