mjacob abandoned this revision.
mjacob added a comment.
I experimented with another approach in the meantime.
http://reviews.llvm.org/D15998
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
mjacob added a comment.
In http://reviews.llvm.org/D15998#324757, @aaron.ballman wrote:
> Can you point me to some documentation on what the semantics of this
> attribute are? For instance, how does it play with other attributes (like
> naked or dllexport), is there a reason it shouldn't apply
mjacob added a comment.
In http://reviews.llvm.org/D15998#324354, @reames wrote:
> Also, before this gets exposed through Clang, we really should
> formalize/document the attribute. In practice, it implies the lack of a
> safepoint poll site inside the called function. Annoyingly, it's not a
mjacob added a comment.
ping
http://reviews.llvm.org/D15319
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mjacob created this revision.
mjacob added a reviewer: rsmith.
mjacob added subscribers: cfe-commits, alex.
The constant expression evaluator for pointers returns a base and an
offset if successful. In this case, CodeGen generates a constant pointer cast,
casting the base (with offset applied if
mjacob added inline comments.
Comment at: lib/Sema/SemaCast.cpp:1081-1083
@@ -1080,3 +1080,5 @@
}
- Kind = CK_BitCast;
+ unsigned SrcAS = SrcPointee.getAddressSpace();
+ unsigned DestAS = DestPointee.getAddressSpace();
+ Kind = SrcAS