summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-14 04:50:12 +0000
committerChris Lattner <sabre@nondot.org>2009-07-14 04:50:12 +0000
commit1cda87c3a07dc097f27e365f7f3ff4bcb31f5699 (patch)
treecaac3b6fa18af3b7530dbc61f634125801ff061a /test/CodeGen/PowerPC
parent1b8f70a0d3d72ce55c8036b79bcc80b130b5f7b2 (diff)
downloadllvm-1cda87c3a07dc097f27e365f7f3ff4bcb31f5699.tar.gz
llvm-1cda87c3a07dc097f27e365f7f3ff4bcb31f5699.tar.bz2
llvm-1cda87c3a07dc097f27e365f7f3ff4bcb31f5699.tar.xz
Change the internal interface to makeNameProper to take a bool that
indicates whether the label is private or not, instead of taking prefix stuff. One effect of this is that symbols will be generated with *just* the private prefix, instead of both the private prefix *and* the user-label-prefix, but this doesn't matter as long as it is consistent. For example we'll now get "Lfoo" instead of "L_foo". These are just assembler temporary labels anyway, so they never even make it into the .o file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r--test/CodeGen/PowerPC/private.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/PowerPC/private.ll b/test/CodeGen/PowerPC/private.ll
index 0f0d13492a..a36adf58a8 100644
--- a/test/CodeGen/PowerPC/private.ll
+++ b/test/CodeGen/PowerPC/private.ll
@@ -6,20 +6,20 @@
; RUN: grep .Lbaz: %t
; RUN: grep lis.*\.Lbaz %t
; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin > %t
-; RUN: grep L_foo: %t
-; RUN: grep bl.*\L_foo %t
-; RUN: grep L_baz: %t
-; RUN: grep lis.*\L_baz %t
+; RUN: grep Lfoo: %t
+; RUN: grep bl.*\Lfoo %t
+; RUN: grep Lbaz: %t
+; RUN: grep lis.*\Lbaz %t
-declare void @foo()
+declare void @foo() nounwind
-define private void @foo() {
+define private void @foo() nounwind {
ret void
}
@baz = private global i32 4;
-define i32 @bar() {
+define i32 @bar() nounwind {
call void @foo()
%1 = load i32* @baz, align 4
ret i32 %1