[TTI] getTypeBasedIntrinsicInstrCost - add basic handling for strided load/store...
[llvm-project.git] / llvm / test / Transforms / WholeProgramDevirt / export-unsuccessful-checked.ll
bloba74f8974dcea36704a2c8f6e6afcaf99c0828fb3
1 ; RUN: opt -passes=wholeprogramdevirt -whole-program-visibility -wholeprogramdevirt-summary-action=export -wholeprogramdevirt-read-summary=%S/Inputs/export.yaml -wholeprogramdevirt-write-summary=%t -o /dev/null %s
2 ; RUN: FileCheck %s < %t
4 ; CHECK:       TypeTests: [ 15427464259790519041, 17525413373118030901 ]
5 ; CHECK-NEXT:  TypeTestAssumeVCalls:
7 @vt1a = constant ptr @vf1a, !type !0
8 @vt1b = constant ptr @vf1b, !type !0
9 @vt2a = constant ptr @vf2a, !type !1
10 @vt2b = constant ptr @vf2b, !type !1
11 @vt3a = constant ptr @vf3a, !type !2
12 @vt3b = constant ptr @vf3b, !type !2
13 @vt4a = constant ptr @vf4a, !type !3
14 @vt4b = constant ptr @vf4b, !type !3
16 declare void @vf1a(ptr)
17 declare void @vf1b(ptr)
18 declare void @vf2a(ptr)
19 declare void @vf2b(ptr)
20 declare void @vf3a(ptr)
21 declare void @vf3b(ptr)
22 declare void @vf4a(ptr)
23 declare void @vf4b(ptr)
25 !0 = !{i32 0, !"typeid1"}
26 !1 = !{i32 0, !"typeid2"}
27 !2 = !{i32 0, !"typeid3"}
28 !3 = !{i32 0, !"typeid4"}