diff options
Diffstat (limited to 'llvm/test/Bitcode/inalloca-upgrade.test')
-rw-r--r-- | llvm/test/Bitcode/inalloca-upgrade.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/inalloca-upgrade.test b/llvm/test/Bitcode/inalloca-upgrade.test new file mode 100644 index 000000000000..20d41365b360 --- /dev/null +++ b/llvm/test/Bitcode/inalloca-upgrade.test @@ -0,0 +1,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) |