2013-09-16 09:08:15 +08:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
|
|
|
|
|
|
|
|
@i = linkonce_odr global i32 1
|
|
|
|
|
|
|
|
; CHECK: f:
|
2013-10-20 10:16:21 +08:00
|
|
|
; CHECK-NEXT: .cfi_startproc
|
2013-09-16 09:08:15 +08:00
|
|
|
; CHECK-NEXT: .long 1
|
|
|
|
define void @f() prefix i32 1 {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; CHECK: g:
|
2013-10-20 10:16:21 +08:00
|
|
|
; CHECK-NEXT: .cfi_startproc
|
2013-09-16 09:08:15 +08:00
|
|
|
; CHECK-NEXT: .quad i
|
|
|
|
define void @g() prefix i32* @i {
|
|
|
|
ret void
|
|
|
|
}
|