From 4cda8c8bef0ddc37d375069b9fa734cc6c9f2abc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 14 Jul 2009 06:04:35 +0000 Subject: 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 --- test/CodeGen/X86/loop-hoist.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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] -- cgit v1.1