Change constantexpr global variable initializers to convert the constants
[oota-llvm.git] / test / CodeGen / X86 / ptrtoint-constexpr.ll
1 ; RUN: llc < %s -mtriple=i386-linux | FileCheck %s
2         %union.x = type { i64 }
3
4 ; CHECK:        .globl r
5 ; CHECK: r:
6 ; CHECK: .quad  r&4294967295
7
8 @r = global %union.x { i64 ptrtoint (%union.x* @r to i64) }, align 4