[PATCH] D46441: [clang][CodeGenCXX] Noalias attr for 'this' parameter
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 9 17:24:15 PDT 2018
rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.
I wonder if we should have a `-fno-strict-something` flag for this. I suppose there's no more effective way to find out than to try this and see what happens.
================
Comment at: lib/CodeGen/CGCall.cpp:2052
+ //
+ // We intentionally threat this behaviour as undefined by marking 'this'
+ // with noalias attribute and have recommended the Standard to be
----------------
thread -> treat
https://reviews.llvm.org/D46441
More information about the cfe-commits
mailing list