allwinner_a64/android/external/llvm/test/CodeGen/Hexagon/simple_addend.ll
2018-08-08 16:14:42 +08:00

10 lines
246 B
LLVM

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