1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Bitcode/inalloca-upgrade.test
Matt Arsenault efe6c99b52 Reapply "OpaquePtr: Turn inalloca into a type attribute"
This reverts commit 07e46367baeca96d84b03fa215b41775f69d5989.
2021-03-29 08:55:30 -04:00

8 lines
295 B
Plaintext

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)