mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
cf3b1a2910
Previous discussion: http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-July/063909.html Differential Revision: http://llvm-reviews.chandlerc.com/D1191 llvm-svn: 190773
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
|
|
}
|