From 784ec12a3c3d1de370c35ee527f7d5d57b13cd98 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Fri, 22 Apr 2016 22:45:23 +0000 Subject: [PATCH] Add some release notes about the fix for PR26774 As suggested by Chandler on the review thread for D18634. llvm-svn: 267239 --- llvm/docs/ReleaseNotes.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst index 6564e950968e..df34d2a20da8 100644 --- a/llvm/docs/ReleaseNotes.rst +++ b/llvm/docs/ReleaseNotes.rst @@ -87,6 +87,16 @@ Changes to the LLVM IR ``llvm.masked.gather`` and ``llvm.masked.scatter`` were introduced to the LLVM IR to allow selective memory access for vector data types. +Changes to LLVM's IPO model +--------------------------- + +LLVM no longer does inter-procedural analysis and optimization (except +inlining) on functions with comdat linkage. Doing IPO over such +functions is unsound because the implementation the linker chooses at +link-time may be differently optimized than the one what was visible +during optimization, and may have arbitrarily different observable +behavior. See `PR26774 `_ for more details. + Changes to the ARM Backend --------------------------