HomePhabricator

NFC. Introduce Value::getPointerDerferecnceableBytes

Description

NFC. Introduce Value::getPointerDerferecnceableBytes

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).

Reviewed By: reames

Differential Revision: http://reviews.llvm.org/D17572

Details

Committed
apilipenkoApr 27 2016, 5:51 AM
Differential Revision
D17572: NFC. Introduce Value::getPointerDerferecnceableBytes.
Parents
rL267707: [FIX] Propagate execution domain of invariant loads
Branches
Unknown
Tags
Unknown