[PATCH] D9403: llvm.noalias - Clang CodeGen for local restrict-qualified pointers
John McCall
rjmccall at gmail.com
Fri Jul 17 14:18:27 PDT 2015
rjmccall added a comment.
Okay, thank you, I understand what you're saying now and you're completely right. It makes sense for this to be tied to the value stored into the l-value, as that actions is basically what's establishing a stronger rule about that pointer.
Side question: is the use of an overloaded intrinsic here going to be a problem, since intrinsics can't be overloaded on arbitrary user types (e.g. structs)? Is there anything about the analysis that breaks if we bitcast the operand to i8* and then bitcast the result back to the actual type? Is this question eventually being mooted by the Great Pointer-Typing Change? :)
http://reviews.llvm.org/D9403
More information about the cfe-commits
mailing list