mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +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
14 lines
263 B
LLVM
14 lines
263 B
LLVM
; RUN: llc -march=hexagon -filetype=obj < %s | llvm-objdump -d -r - | FileCheck %s
|
|
|
|
declare void @bar()
|
|
|
|
define void @foo() {
|
|
call void @bar()
|
|
ret void
|
|
}
|
|
|
|
; CHECK: { call 0
|
|
; CHECK: allocframe(#0)
|
|
; CHECK: 00000000: R_HEX_B22_PCREL
|
|
; CHECK: { dealloc_return }
|