aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/prefixdata.ll
blob: 2ffa89d287d85981a648c46c254eec9de225ff00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; 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
}