mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
360661f1d1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239876 91177308-0d34-0410-b5e6-96231b3b80d8
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
|