summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd1acffc845ec1c6e254006f5b9bdd7ec4f61dc24 (patch)
tree430bcceadf6dc282279e0a962948770df3e4506d /llvm/test/CodeGen/X86/ptrtoint-constexpr.ll
parentc1451d764f150dad93c0989013286adb003dd643 (diff)
downloadbcm5719-llvm-d1acffc845ec1c6e254006f5b9bdd7ec4f61dc24.tar.gz
bcm5719-llvm-d1acffc845ec1c6e254006f5b9bdd7ec4f61dc24.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. llvm-svn: 94293
Diffstat (limited to 'llvm/test/CodeGen/X86/ptrtoint-constexpr.ll')
-rw-r--r--llvm/test/CodeGen/X86/ptrtoint-constexpr.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/ptrtoint-constexpr.ll b/llvm/test/CodeGen/X86/ptrtoint-constexpr.ll
index 72a428ea320..7e33e7916c8 100644
--- a/llvm/test/CodeGen/X86/ptrtoint-constexpr.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud