forked from OSchip/llvm-project
16 lines
257 B
LLVM
16 lines
257 B
LLVM
|
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
|
||
|
|
||
|
@i = linkonce_odr global i32 1
|
||
|
|
||
|
; CHECK: f:
|
||
|
; CHECK-NEXT: .long 1
|
||
|
define void @f() prefix i32 1 {
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK: g:
|
||
|
; CHECK-NEXT: .quad i
|
||
|
define void @g() prefix i32* @i {
|
||
|
ret void
|
||
|
}
|