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
This commit is contained in:
Chris Lattner
2010-01-23 06:17:14 +00:00
parent e9625cf698
commit 52492ac0d0
4 changed files with 84 additions and 133 deletions

View File

@@ -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