mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
1d955c1e56
Emit the CFI instructions after all code transformation have been done. This will avoid any interference between CFI instructions and packetization. llvm-svn: 250714
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: 0x4 R_HEX_B22_PCREL bar 0x4
|