summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/byval-upgrade.test
blob: 1012bf728830fbc4729f50479ad2e2e8cef8e896 (plain)
1
2
3
4
5
6
7
RUN: llvm-dis %p/Inputs/byval-upgrade.bc -o - | FileCheck %s

Make sure we upgrade old-stile IntAttribute byval records to a fully typed
version correctly.

CHECK: call void @bar({ i32*, i8 }* byval({ i32*, i8 }) %ptr)
CHECK: invoke void @bar({ i32*, i8 }* byval({ i32*, i8 }) %ptr)
OpenPOWER on IntegriCloud