aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/ptrtoint-constexpr.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-23 06:17:14 +0000
committerChris Lattner <sabre@nondot.org>2010-01-23 06:17:14 +0000
commit54bfda730f4b2436460fc39e7c1633a489bad2a2 (patch)
treeb76401cb8270c33e94ed6f765ed8186264a5bf59 /test/CodeGen/X86/ptrtoint-constexpr.ll
parentc21aa853295edcda4309bb81da4d835156949843 (diff)
downloadexternal_llvm-54bfda730f4b2436460fc39e7c1633a489bad2a2.tar.gz
external_llvm-54bfda730f4b2436460fc39e7c1633a489bad2a2.tar.bz2
external_llvm-54bfda730f4b2436460fc39e7c1633a489bad2a2.zip
Change constantexpr global variable initializers to convert the constants
to MCExpr then emit them through MCStreamer with EmitValue. I think all global variable initializers are now going through mcstreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/ptrtoint-constexpr.ll')
-rw-r--r--test/CodeGen/X86/ptrtoint-constexpr.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/ptrtoint-constexpr.ll b/test/CodeGen/X86/ptrtoint-constexpr.ll
index 72a428ea32..7e33e7916c 100644
--- a/test/CodeGen/X86/ptrtoint-constexpr.ll
+++ b/test/CodeGen/X86/ptrtoint-constexpr.ll
@@ -3,6 +3,6 @@
; CHECK: .globl r
; CHECK: r:
-; CHECK: .quad ((r) & 4294967295)
+; CHECK: .quad r&4294967295
@r = global %union.x { i64 ptrtoint (%union.x* @r to i64) }, align 4