[PATCH] InstCombine: propagate deref via new addDereferenceableAttr
Ramkumar Ramachandra
artagnon at gmail.com
Mon Feb 9 15:26:49 PST 2015
In http://reviews.llvm.org/D7510#120855, @reames wrote:
> p.s. isDerefPtr is on Value, the cast is entirely unnecessary.
Ah, but `->getDereferenceableBytes()` is only defined for an `Argument`; I'm not sure why it is that way though.
http://reviews.llvm.org/D7510
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list