[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / Bitcode / upgrade-subprogram-this.ll
blob81da5b062218902d2eb27b819ce7e27cd9de5a91
1 ; RUN: llvm-dis < %s.bc | FileCheck %s
2 ; RUN: verify-uselistorder < %s.bc
4 ; Test upgrading from bitcode without a this adjustment record. It will fill in
5 ; an implicit zero thisAdjustment, so it will not be present in the output.
7 ; CHECK: DISubprogram(name: "f",
8 ; CHECK-NOT: thisAdjustment
9 ; CHECK-SAME: ){{$}}
11 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
12 target triple = "x86_64-pc-windows-msvc19.0.23918"
14 ; Function Attrs: nounwind uwtable
15 define void @f() !dbg !7 {
16 entry:
17   ret void, !dbg !10
20 !llvm.dbg.cu = !{!0}
21 !llvm.module.flags = !{!4}
23 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, emissionKind: FullDebug)
24 !1 = !DIFile(filename: "t.cpp", directory: "D:\5Csrc\5Cllvm\5Cbuild")
25 !2 = !{}
26 !4 = !{i32 2, !"Debug Info Version", i32 3}
27 !7 = distinct !DISubprogram(name: "f", linkageName: "\01?f@@YAXXZ", scope: !1, file: !1, line: 1, type: !8, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: false, unit: !0, retainedNodes: !2)
28 !8 = !DISubroutineType(types: !9)
29 !9 = !{null}
30 !10 = !DILocation(line: 1, column: 11, scope: !7)