Go to file
Duncan Sands 809d9167da IntrWriteArgMem implies nocapture, but this wasn't
taken advantage of anywhere.  Change the definition
of IntrWriteArgMem to no longer imply nocapture, and
explicitly add nocapture attributes everywhere (well,
not quite everywhere, because some of these intrinsics
did capture their arguments!).  Also, make clear that
the lack of other side-effects does not exclude doing
volatile loads or stores - the atomic intrinsics do
these, yet they are all marked IntrWriteArgMem (this
change is safe because nothing exploited it).

llvm-svn: 64539
2009-02-14 05:16:25 +00:00
clang Don't ignore the const attribute - we even have CG support for that. Do ignore the malloc attribute however. 2009-02-14 04:12:57 +00:00
llvm IntrWriteArgMem implies nocapture, but this wasn't 2009-02-14 05:16:25 +00:00