[PATCH] D17611: NFC. Introduce Value::isPointerDereferenceable
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 18:49:44 PDT 2016
majnemer added a subscriber: majnemer.
================
Comment at: lib/IR/Value.cpp:556
@@ -555,1 +555,3 @@
+bool Value::isPointerDereferenceable(bool &CanBeNull) const {
+ assert(getType()->isPointerTy() && "must be pointer");
----------------
I'd expect this to call isDereferenceableFromAttribute.
http://reviews.llvm.org/D17611
More information about the llvm-commits
mailing list