mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
9 lines
221 B
LLVM
9 lines
221 B
LLVM
|
; RUN: llvm-as < %s | llc -mtriple=i386-linux | FileCheck %s
|
||
|
%union.x = type { i64 }
|
||
|
|
||
|
; CHECK: .globl r
|
||
|
; CHECK: r:
|
||
|
; CHECK: .quad ((r) & 4294967295)
|
||
|
|
||
|
@r = global %union.x { i64 ptrtoint (%union.x* @r to i64) }, align 4
|