Debian Codegraph @

clang/test/CodeGen/unified-lto-module-flag.ll

raw
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}