[PATCH] D21594: [esan|cfrag] Add counters for struct array accesses

Qin Zhao via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 1 11:06:09 PDT 2016


zhaoqin updated this revision to Diff 62513.
zhaoqin added a comment.

use getSExtValue instead of getZExtValue for GetElementPtr instr.


http://reviews.llvm.org/D21594

Files:
  lib/Transforms/Instrumentation/EfficiencySanitizer.cpp
  test/Instrumentation/EfficiencySanitizer/struct_field_count_basic.ll
  test/Instrumentation/EfficiencySanitizer/struct_field_gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21594.62513.patch
Type: text/x-patch
Size: 29080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160701/16cb80d1/attachment.bin>


More information about the llvm-commits mailing list