summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/prologuedata.ll
blob: 6a50ddbfd140ac9160ceae888ed2f278fa6bd96b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s

@i = linkonce_odr global i32 1

; CHECK: f:
; CHECK-NEXT: .cfi_startproc
; CHECK-NEXT: .long	1
define void @f() prologue i32 1 {
  ret void
}

; CHECK: g:
; CHECK-NEXT: .cfi_startproc
; CHECK-NEXT: .quad	i
define void @g() prologue i32* @i {
  ret void
}