1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/CodeGen/X86/ptrtoint-constexpr.ll
2009-09-08 23:54:48 +00:00

9 lines
211 B
LLVM

; RUN: llc < %s -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