[PATCH] D17572: NFC. Introduce Value::getPointerDerferecnceableBytes.
Artur Pilipenko via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 07:17:34 PST 2016
apilipenko created this revision.
apilipenko added reviewers: hfinkel, reames.
apilipenko added a subscriber: llvm-commits.
Extract a part of isDereferenceableAndAlignedPointer functionality to Value::getPointerDerferecnceableBytes. Currently it's a NFC, but in future I'm going to accumulate all the logic about value dereferenceability in this function similarly to Value::getPointerAlignment function (D16144).
http://reviews.llvm.org/D17572
Files:
include/llvm/IR/Value.h
lib/Analysis/Loads.cpp
lib/IR/Value.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17572.48933.patch
Type: text/x-patch
Size: 3789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160224/4ce2a915/attachment.bin>
More information about the llvm-commits
mailing list