You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
41
external/llvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll
vendored
Normal file
41
external/llvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
; RUN: opt -wholeprogramdevirt -wholeprogramdevirt-summary-action=export -wholeprogramdevirt-read-summary=%S/Inputs/export.yaml -wholeprogramdevirt-write-summary=%t -S -o - %s | FileCheck %s
|
||||
; RUN: FileCheck --check-prefix=SUMMARY %s < %t
|
||||
|
||||
; SUMMARY-NOT: TypeTests:
|
||||
|
||||
; SUMMARY: TypeIdMap:
|
||||
; SUMMARY-NEXT: typeid4:
|
||||
; SUMMARY-NEXT: TTRes:
|
||||
; SUMMARY-NEXT: Kind: Unsat
|
||||
; SUMMARY-NEXT: SizeM1BitWidth: 0
|
||||
; SUMMARY-NEXT: AlignLog2: 0
|
||||
; SUMMARY-NEXT: SizeM1: 0
|
||||
; SUMMARY-NEXT: BitMask: 0
|
||||
; SUMMARY-NEXT: InlineBits: 0
|
||||
; SUMMARY-NEXT: WPDRes:
|
||||
; SUMMARY-NEXT: 0:
|
||||
; SUMMARY-NEXT: Kind: Indir
|
||||
; SUMMARY-NEXT: SingleImplName: ''
|
||||
; SUMMARY-NEXT: ResByArg:
|
||||
; SUMMARY-NEXT: 24,12:
|
||||
; SUMMARY-NEXT: Kind: UniformRetVal
|
||||
; SUMMARY-NEXT: Info: 36
|
||||
; SUMMARY-NEXT: Byte: 0
|
||||
; SUMMARY-NEXT: Bit: 0
|
||||
|
||||
; CHECK: @vt4a = constant i32 (i8*, i32, i32)* @vf4a
|
||||
@vt4a = constant i32 (i8*, i32, i32)* @vf4a, !type !0
|
||||
|
||||
; CHECK: @vt4b = constant i32 (i8*, i32, i32)* @vf4b
|
||||
@vt4b = constant i32 (i8*, i32, i32)* @vf4b, !type !0
|
||||
|
||||
define i32 @vf4a(i8*, i32 %x, i32 %y) {
|
||||
%z = add i32 %x, %y
|
||||
ret i32 %z
|
||||
}
|
||||
|
||||
define i32 @vf4b(i8*, i32 %x, i32 %y) {
|
||||
ret i32 36
|
||||
}
|
||||
|
||||
!0 = !{i32 0, !"typeid4"}
|
Reference in New Issue
Block a user