mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
18 lines
319 B
LLVM
18 lines
319 B
LLVM
|
; 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
|
||
|
}
|