Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / Bitcode / operand-bundles-bc-analyzer.ll
blobd860104b9cb3d97e64cf6e8d8db830a23d4a4b9f
1 ; RUN: llvm-as < %s | llvm-bcanalyzer -dump -disable-histogram | FileCheck %s
3 ; CHECK:  <OPERAND_BUNDLE_TAGS_BLOCK
4 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
5 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
6 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
7 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
8 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
9 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
10 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
11 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
12 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
13 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
14 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
15 ; CHECK-NEXT:    <OPERAND_BUNDLE_TAG
16 ; CHECK-NEXT:  </OPERAND_BUNDLE_TAGS_BLOCK
18 ; CHECK:   <FUNCTION_BLOCK
19 ; CHECK:    <OPERAND_BUNDLE
20 ; CHECK:    <OPERAND_BUNDLE
21 ; CHECK-NOT: <OPERAND_BUNDLE
22 ; CHECK:  </FUNCTION_BLOCK
24 ; CHECK: Block ID #{{[0-9]+}} (OPERAND_BUNDLE_TAGS_BLOCK)
26 declare void @callee0()
28 define void @f0(i32* %ptr) {
29  entry:
30   %l = load i32, i32* %ptr
31   %x = add i32 42, 1
32   call void @callee0() [ "foo"(i32 42, i64 100, i32 %x), "bar"(float  0.000000e+00, i64 100, i32 %l) ]
33   ret void