Change constantexpr global variable initializers to convert the constants
authorChris Lattner <sabre@nondot.org>
Sat, 23 Jan 2010 06:17:14 +0000 (06:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 23 Jan 2010 06:17:14 +0000 (06:17 +0000)
commit52492ac0d03aa86b07ad889b69b0ba38ffec8011
treeb76401cb8270c33e94ed6f765ed8186264a5bf59
parente9625cf6983221ed5d159b822f074a1dfd8f1f3d
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
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/X86/2009-02-04-sext-i64-gep.ll
test/CodeGen/X86/ptrtoint-constexpr.ll