[llvm] b11ef3a - [LangRef] Remove module flag description that does not exist anymore
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 22:35:32 PDT 2023
Author: Johannes Doerfert
Date: 2023-08-29T22:35:16-07:00
New Revision: b11ef3a575c21a17f48de2ab3696bd5118b355e1
URL: https://github.com/llvm/llvm-project/commit/b11ef3a575c21a17f48de2ab3696bd5118b355e1
DIFF: https://github.com/llvm/llvm-project/commit/b11ef3a575c21a17f48de2ab3696bd5118b355e1.diff
LOG: [LangRef] Remove module flag description that does not exist anymore
After https://reviews.llvm.org/D153655, LTOPostLink metadata is not a
thing anymore.
Added:
Modified:
llvm/docs/LangRef.rst
llvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 81c1e21dc66081..478f06f7cc889a 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -7822,13 +7822,6 @@ enum is the smallest type which can represent all of its values::
!0 = !{i32 1, !"short_wchar", i32 1}
!1 = !{i32 1, !"short_enum", i32 0}
-LTO Post-Link Module Flags Metadata
------------------------------------
-
-Some optimisations are only when the entire LTO unit is present in the current
-module. This is represented by the ``LTOPostLink`` module flags metadata, which
-will be created with a value of ``1`` when LTO linking occurs.
-
Stack Alignment Metadata
------------------------
diff --git a/llvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll b/llvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
index 65d83311b421a5..7875d38c8c0b17 100644
--- a/llvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
+++ b/llvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
@@ -2,7 +2,7 @@
; structs A, B and C have vcall_visibility of public, linkage-unit and
; translation-unit respectively. This test is run before LTO linking occurs
-; (the LTOPostLink metadata is not present), so only C can be VFE'd.
+; so only C can be VFE'd.
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
More information about the llvm-commits
mailing list