llvm-for-llvmta/test/Bitcode/byval-upgrade.test
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

8 lines
283 B
Plaintext

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)