summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ReleaseNotes.html
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2010-08-04 12:43:22 +0000
committerTorok Edwin <edwintorok@gmail.com>2010-08-04 12:43:22 +0000
commite6f478f7956ef85acc6e8a43f8b600690c724f7c (patch)
tree30457bc4bd14986fe47585585230f8d248dc62fc /llvm/docs/ReleaseNotes.html
parentbfc17d0157015447489cb2e5aff3c379b217e7cd (diff)
downloadbcm5719-llvm-e6f478f7956ef85acc6e8a43f8b600690c724f7c.tar.gz
bcm5719-llvm-e6f478f7956ef85acc6e8a43f8b600690c724f7c.zip
Note some LLVM 2.7 -> 2.8 APIs that changed / got renamed.
I encountered these while upgrading libclamav. llvm-svn: 110196
Diffstat (limited to 'llvm/docs/ReleaseNotes.html')
-rw-r--r--llvm/docs/ReleaseNotes.html29
1 files changed, 28 insertions, 1 deletions
diff --git a/llvm/docs/ReleaseNotes.html b/llvm/docs/ReleaseNotes.html
index 01a39a7ce07..4f14ac65ce2 100644
--- a/llvm/docs/ReleaseNotes.html
+++ b/llvm/docs/ReleaseNotes.html
@@ -323,7 +323,34 @@ 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>
+ llvm.memcpy.*, llvm.memset.*, llvm.memmove.* (and possibly other?) intrinsics
+ take an extra parameter now (i1 isVolatile), totaling 5 parameters.
+ If you were creating these intrinsic calls and prototypes yourself (as opposed
+ to using Intrinsic::getDeclaration), you can use UpgradeIntrinsicFunction/UpgradeIntrinsicCall
+ to be portable accross releases.
+ Note that you cannot use Intrinsic::getDeclaration() in a backwards compatible
+ way (needs 2/3 types now, in 2.7 it needed just 1).
+</li>
+<li>
+ SetCurrentDebugLocation takes a DebugLoc now instead of a MDNode.
+ Change your code to use
+ SetCurrentDebugLocation(DebugLoc::getFromDILocation(...)).
+</li>
+<li>
+ VISIBILITY_HIDDEN is gone.
+</li>
+<li>
+ SMDiagnostic takes different parameters now. //FIXME: how to upgrade?
+</li>
+<li>
+ Some APIs got renamed:
+ <ul>
+ <li>llvm_report_error -&gt; report_fatal_error</li>
+ <li>llvm_install_error_handler -&gt; install_fatal_error_handler</li>
+ <li>llvm::DwarfExceptionHandling -&gt; llvm::JITExceptionHandling</li>
+ </ul>
+</li>
</ul>
</div>
OpenPOWER on IntegriCloud