diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-14 06:04:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-14 06:04:35 +0000 |
commit | 03e9dd9ffae4370bf53bcdf04504e5ad908a1ec6 (patch) | |
tree | 0d1dbf0fa27121183c6d5fce5e791e854c15ce20 /test | |
parent | d23f0d0451a4ffc0c12d7a73559fa35587ce7abb (diff) | |
download | external_llvm-03e9dd9ffae4370bf53bcdf04504e5ad908a1ec6.zip external_llvm-03e9dd9ffae4370bf53bcdf04504e5ad908a1ec6.tar.gz external_llvm-03e9dd9ffae4370bf53bcdf04504e5ad908a1ec6.tar.bz2 |
Change the X86 asmprinter to use the mangler to apply suffixes like "$non_lazy_ptr"
to symbols instead of doing it with "printSuffixedName". This gets us to the point
where there is a real separation between computing a symbol name and printing it,
something I need for MC printer stuff.
This patch also fixes a corner case bug where unnamed private globals wouldn't get
the private label prefix.
Next up, rename all uses of getValueName -> getMangledName for better greppability,
and then tackle the ppc/arm backends to eliminate "printSuffixedName".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/loop-hoist.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/loop-hoist.ll b/test/CodeGen/X86/loop-hoist.ll index 73284a4..fe947d7 100644 --- a/test/CodeGen/X86/loop-hoist.ll +++ b/test/CodeGen/X86/loop-hoist.ll @@ -1,10 +1,10 @@ ; RUN: llvm-as < %s | \ ; RUN: llc -relocation-model=dynamic-no-pic -mtriple=i686-apple-darwin8.7.2 |\ -; RUN: grep L_Arr.non_lazy_ptr +; RUN: grep LArr.non_lazy_ptr ; RUN: llvm-as < %s | \ ; RUN: llc -disable-post-RA-scheduler=true \ ; RUN: -relocation-model=dynamic-no-pic -mtriple=i686-apple-darwin8.7.2 |\ -; RUN: %prcontext L_Arr.non_lazy_ptr 1 | grep {4(%esp)} +; RUN: %prcontext LArr.non_lazy_ptr 1 | grep {4(%esp)} @Arr = external global [0 x i32] ; <[0 x i32]*> [#uses=1] |