17 lines · plain
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s2; Check support for basic target extension type properties3 4declare void @g1(target("atype", void))5declare void @g2(target("atype", i32))6declare void @g3(target("atype", i32, 0))7declare void @g4(target("atype", 0))8declare void @g5(target("atype", 0, 1, 2))9declare void @g6(target("atype", void, i32, float, {i32, bfloat}, 0, 1, 2))10 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))17