[PATCH] D16227: Make context-sensitive isDereferenceable queries in isSafeToLoadUnconditionally

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 17:54:15 PST 2016


reames requested changes to this revision.
reames added a comment.
This revision now requires changes to proceed.

Please update at least one user of the API and write a test case that shows the difference in behaviour.


================
Comment at: include/llvm/Analysis/Loads.h:29
@@ -28,3 +28,3 @@
 /// specified pointer, we do a quick local scan of the basic block containing
 /// ScanFrom, to determine if the address is already accessed.
 bool isSafeToLoadUnconditionally(Value *V, unsigned Align,
----------------
Comment needs updated.


http://reviews.llvm.org/D16227





More information about the llvm-commits mailing list