1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/CodeGen/X86/prefixdata.ll

18 lines
315 B
LLVM
Raw Normal View History

; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
@i = linkonce_odr global i32 1
; CHECK: f:
; CHECK-NEXT: .cfi_startproc
; CHECK-NEXT: .long 1
define void @f() prefix i32 1 {
ret void
}
; CHECK: g:
; CHECK-NEXT: .cfi_startproc
; CHECK-NEXT: .quad i
define void @g() prefix i32* @i {
ret void
}