llvm.org GIT mirror llvm / release_26 test / CodeGen / X86 / ptrtoint-constexpr.ll
release_26

Tree @release_26 (Download .tar.gz)

ptrtoint-constexpr.ll @release_26raw · history · blame

1
2
3
4
5
6
7
8
; 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