[PATCH] [LAA] Fix estimation of number of memchecks
silviu.baranga at arm.com
silviu.baranga at arm.com
Thu Jun 4 08:40:12 PDT 2015
Removed the caching of getNumberOfCheck and updated the API to not return it as part of canCheckPtrAtRT.
Removed some dead code (NumReadPtrChecks and NumWritePtrChecks are no longer needed).
NeedRTCheck is now returned by canCheckPtrAtRT. I've also changed the logic that computes NeedRTChecks according to Michaels comment to make it more readable, and that change ended up being in canCheckPtrAtRT.
http://reviews.llvm.org/D10217
Files:
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp
test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10217.27124.patch
Type: text/x-patch
Size: 9750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150604/a88b85b1/attachment.bin>
More information about the llvm-commits
mailing list