We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db7dc4 commit 40e51faCopy full SHA for 40e51fa
clang/test/CodeGen/unified-lto-module-flag.ll
@@ -0,0 +1,11 @@
1
+; Test that we do not duplicate the UnifiedLTO module flag.
2
+;
3
+; RUN: %clang_cc1 -emit-llvm -flto=full -funified-lto -o - %s | FileCheck %s
4
+
5
+; CHECK: !llvm.module.flags = !{!0, !1, !2, !3}
6
+!llvm.module.flags = !{!0, !1, !2, !3}
7
8
+!0 = !{i32 1, !"wchar_size", i32 2}
9
+!1 = !{i32 7, !"frame-pointer", i32 2}
10
+!2 = !{i32 1, !"EnableSplitLTOUnit", i32 1}
11
+!3 = !{i32 1, !"UnifiedLTO", i32 1}
0 commit comments