mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 22:32:38 +00:00
e23e0976c7
but pass when run against r76652. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76923 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
401 B
LLVM
22 lines
401 B
LLVM
; RUN: llvm-as < %s | llc -march=xcore -mcpu=xs1b-generic | FileCheck %s
|
|
; XFAIL: *
|
|
|
|
define i32 *@addr_G() {
|
|
entry:
|
|
; CHECK: addr_G:
|
|
; CHECK: get r11, id
|
|
ret i32* @G
|
|
}
|
|
|
|
@G = thread_local global i32 15
|
|
; CHECK: .section .dp.data,"awd",@progbits
|
|
; CHECK: G:
|
|
; CHECK: .long 15
|
|
; CHECK: .long 15
|
|
; CHECK: .long 15
|
|
; CHECK: .long 15
|
|
; CHECK: .long 15
|
|
; CHECK: .long 15
|
|
; CHECK: .long 15
|
|
; CHECK: .long 15
|