2013-09-16 09:08:15 +08:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
|
|
|
|
|
|
|
|
@i = linkonce_odr global i32 1
|
|
|
|
|
2014-12-03 10:08:38 +08:00
|
|
|
; CHECK: .type f,@function
|
2013-09-16 09:08:15 +08:00
|
|
|
; CHECK-NEXT: .long 1
|
2014-12-03 10:08:38 +08:00
|
|
|
; CHECK-NEXT: # 0x1
|
|
|
|
; CHECK-NEXT: f:
|
2013-09-16 09:08:15 +08:00
|
|
|
define void @f() prefix i32 1 {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2014-12-03 10:08:38 +08:00
|
|
|
; CHECK: .type g,@function
|
2013-09-16 09:08:15 +08:00
|
|
|
; CHECK-NEXT: .quad i
|
2014-12-03 10:08:38 +08:00
|
|
|
; CHECK-NEXT: g:
|
2013-09-16 09:08:15 +08:00
|
|
|
define void @g() prefix i32* @i {
|
|
|
|
ret void
|
|
|
|
}
|