summaryrefslogtreecommitdiff
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
commit52492ac0d03aa86b07ad889b69b0ba38ffec8011 (patch)
treeb76401cb8270c33e94ed6f765ed8186264a5bf59 /test/CodeGen/X86/ptrtoint-constexpr.ll
parente9625cf6983221ed5d159b822f074a1dfd8f1f3d (diff)
downloadllvm-52492ac0d03aa86b07ad889b69b0ba38ffec8011.tar.gz
llvm-52492ac0d03aa86b07ad889b69b0ba38ffec8011.tar.bz2
llvm-52492ac0d03aa86b07ad889b69b0ba38ffec8011.tar.xz
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