1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; Check support for basic target extension type properties
4 declare void @g1(target("atype", void))
5 declare void @g2(target("atype", i32))
6 declare void @g3(target("atype", i32, 0))
7 declare void @g4(target("atype", 0))
8 declare void @g5(target("atype", 0, 1, 2))
9 declare void @g6(target("atype", void, i32, float, {i32, bfloat}, 0, 1, 2))
11 ;CHECK: declare void @g1(target("atype", void))
12 ;CHECK: declare void @g2(target("atype", i32))
13 ;CHECK: declare void @g3(target("atype", i32, 0))
14 ;CHECK: declare void @g4(target("atype", 0))
15 ;CHECK: declare void @g5(target("atype", 0, 1, 2))
16 ;CHECK: declare void @g6(target("atype", void, i32, float, { i32, bfloat }, 0, 1, 2))