1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/CodeGen/Hexagon/simple_addend.ll
Krzysztof Parzyszek 1d955c1e56 [Hexagon] Delay emission of CFI instructions
Emit the CFI instructions after all code transformation have been done.
This will avoid any interference between CFI instructions and packetization.

llvm-svn: 250714
2015-10-19 17:46:01 +00:00

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