view test/CodeGen/X86/prefixdata.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 60c9769439b8
line wrap: on
line source

; 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() prefix i32 1 {
  ret void
}

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