
Test updates were performed using: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only the test updates where the test passed without further modification (which is almost all of them, as the backend is largely pointer-type agnostic).
18 lines
318 B
LLVM
18 lines
318 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 ptr @i {
|
|
ret void
|
|
}
|