Commit f4a13558 authored by Torok Edwin's avatar Torok Edwin
Browse files

Document that Pass(char*) got replaced with Pass(char&).

This means that code wanting to be compatible needs to use ifdefs :(

llvm-svn: 114950
parent 51b0b9d3
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -322,6 +322,11 @@ expose new optimization opportunities:</p>
  these routines tend to perform costly dereference operations more than once. You
  have to dereference the iterators yourself and pass them in.
</li>
<li>
The <tt>Pass(intptr_t)</tt> and <tt>Pass(const void*)</tt> got replaced with a
<tt>Pass(char&amp;)</tt> constructor. This means you have to use ifdefs if you
want your pass to work with both LLVM 2.7 and 2.8
</li>
<li>
  llvm.memcpy.*, llvm.memset.*, llvm.memmove.* (and possibly other?) intrinsics
  take an extra parameter now (i1 isVolatile), totaling 5 parameters.