bolt/deps/llvm-18.1.8/llvm/test/Bitcode/byval-upgrade.test

8 lines
261 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
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(ptr byval({ ptr, i8 }) %ptr)
CHECK: invoke void @bar(ptr byval({ ptr, i8 }) %ptr)