diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-23 06:17:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-23 06:17:14 +0000 |
commit | 52492ac0d03aa86b07ad889b69b0ba38ffec8011 (patch) | |
tree | b76401cb8270c33e94ed6f765ed8186264a5bf59 /test/CodeGen/X86/ptrtoint-constexpr.ll | |
parent | e9625cf6983221ed5d159b822f074a1dfd8f1f3d (diff) | |
download | external_llvm-52492ac0d03aa86b07ad889b69b0ba38ffec8011.zip external_llvm-52492ac0d03aa86b07ad889b69b0ba38ffec8011.tar.gz external_llvm-52492ac0d03aa86b07ad889b69b0ba38ffec8011.tar.bz2 |
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.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/ptrtoint-constexpr.ll b/test/CodeGen/X86/ptrtoint-constexpr.ll index 72a428e..7e33e79 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 |