summaryrefslogtreecommitdiff
path: root/llvm/test/Bitcode/inalloca-upgrade.test
blob: 20d41365b3601cb4855bbc0a385ca3101ba1e2b7 (plain)
1
2
3
4
5
6
7
RUN: llvm-dis %p/Inputs/inalloca-upgrade.bc -o - | FileCheck %s

Make sure we upgrade old-style IntAttribute inalloca records to a
fully typed version correctly.

CHECK: call void @bar({ i32*, i8 }* inalloca({ i32*, i8 }) %ptr)
CHECK: invoke void @bar({ i32*, i8 }* inalloca({ i32*, i8 }) %ptr)