mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
c9da0caf08
llvm-svn: 239876
11 lines
246 B
LLVM
11 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: 0x8 R_HEX_B22_PCREL bar 0x4
|