1; RUN: llc -march=hexagon -filetype=obj -o - < %s | llvm-readobj -relocations | FileCheck %s
2
3declare void @bar(i32);
4
5define void @foo(i32 %a) {
6 %b = mul i32 %a, 3
7 call void @bar(i32 %b)
8 ret void
9}
10; CHECK: 0x4 R_HEX_B22_PCREL bar 0x4
11