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 | |
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')
-rw-r--r-- | test/CodeGen/X86/2009-02-04-sext-i64-gep.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/ptrtoint-constexpr.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2009-02-04-sext-i64-gep.ll b/test/CodeGen/X86/2009-02-04-sext-i64-gep.ll index 6ba046a..4880f62 100644 --- a/test/CodeGen/X86/2009-02-04-sext-i64-gep.ll +++ b/test/CodeGen/X86/2009-02-04-sext-i64-gep.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s | grep { - 92} +; RUN: llc < %s | grep p-92 ; PR3481 ; The offset should print as -92, not +17179869092 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 |