[llvm-branch-commits] [llvm-branch] r246013 - Add a small release note about the getSubtarget migration.

Eric Christopher via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Aug 25 22:12:27 PDT 2015

Author: echristo
Date: Wed Aug 26 00:12:26 2015
New Revision: 246013

URL: http://llvm.org/viewvc/llvm-project?rev=246013&view=rev
Add a small release note about the getSubtarget migration.


Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=246013&r1=246012&r2=246013&view=diff
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Wed Aug 26 00:12:26 2015
@@ -90,6 +90,11 @@ Non-comprehensive list of changes in thi
   more you can avoid using ``PointerType::getPointeeType``, the easier the
   migration will be.
+* Argument-less ``TargetMachine::getSubtarget`` and
+  ``TargetMachine::getSubtargetImpl`` have been removed from the tree. Updating
+  out of tree ports is as simple as implementing a non-virtual version in the
+  target, but implementing full ``Function`` based ``TargetSubtargetInfo``
+  support is recommended.
 Changes to the MIPS Target

More information about the llvm-branch-commits mailing list