xref: /llvm-project/llvm/test/Bitcode/bcanalyzer-types.ll (revision dfeb3991fb489a703f631ab0c34b58f80568038d)
1; RUN: llvm-as < %s | llvm-bcanalyzer -dump | FileCheck %s
2
3; CHECK: Block ID {{.*}} (TYPE_BLOCK_ID)
4; CHECK: BFLOAT
5; CHECK: TOKEN
6; CHECK: HALF
7; CHECK: Block ID
8
9define half @test_half(half %x, half %y) {
10  %a = fadd half %x, %y
11  ret half %a
12}
13
14define bfloat @test_bfloat(i16 %x) {
15  %a = bitcast i16 %x to bfloat
16  ret bfloat %a
17}
18
19declare void @llvm.token(token)
20