From f80447fa55c8e91dc94a5a0dab69a57dcf3fd95d Mon Sep 17 00:00:00 2001
From: Mehdi Amini <mehdi.amini@apple.com>
Date: Wed, 18 Mar 2015 22:01:44 +0000
Subject: [PATCH] Update 3.7 Release Note mentionning the non-optionality of
 the DataLayout

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232677 91177308-0d34-0410-b5e6-96231b3b80d8
---
 docs/ReleaseNotes.rst | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index c977ebb6a49..c0d2ea18981 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -44,10 +44,14 @@ Non-comprehensive list of changes in this release
 * The minimum required Visual Studio version for building LLVM is now 2013
   Update 4.
 
-* A new documentation page, :doc:`Frontend/PerformanceTips`, contains a 
-  collection of tips for frontend authors on how to generate IR which LLVM is 
+* A new documentation page, :doc:`Frontend/PerformanceTips`, contains a
+  collection of tips for frontend authors on how to generate IR which LLVM is
   able to effectively optimize.
 
+* The DataLayout is no longer optional. All the IR level optimizations expects
+  it to be present and the API has been changed to use a reference instead of
+  a pointer to make it explicit. The Module owns the datalayout and it has to
+  match the one attached to the TargetMachine for generating code.
 
 * ... next change ...
 
-- 
2.40.0