1 ; RUN: llvm-dis < %s.bc | FileCheck %s
3 ; Bitcode compatibility test for 'dynamic' parameter to llvm.objectsize.
5 define void @callit(i8* %ptr) {
6 %sz = call i64 @llvm.objectsize.i64.p0i8(i8* %ptr, i1 false, i1 true)
7 ; CHECK: %sz = call i64 @llvm.objectsize.i64.p0(ptr %ptr, i1 false, i1 true, i1 false)
11 declare i64 @llvm.objectsize.i64.p0i8(i8*, i1, i1)
12 ; CHECK: declare i64 @llvm.objectsize.i64.p0(ptr, i1 immarg, i1 immarg, i1 immarg)