mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-10 06:54:54 +00:00
to: .quad X even on a 32-bit system, where X is not 64-bits. There isn't much that we can do here, so we just print: .quad ((X) & 4294967295) instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77818 91177308-0d34-0410-b5e6-96231b3b80d8
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
|