From 8ddde0a151c5297ae5694a4b9201b2d3fe56b196 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 12 Oct 2007 14:53:36 +0000 Subject: Change the names used for internal labels to use the current function symbol name instead of a codegen-assigned function number. Thanks Evan! :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42908 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll | 2 +- test/CodeGen/X86/2007-01-08-InstrSched.ll | 2 +- test/CodeGen/X86/fp_constant_op.llx | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'test/CodeGen') diff --git a/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll b/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll index f0be2bb..d3b869c 100644 --- a/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll +++ b/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll @@ -1,5 +1,5 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | %prcontext je 1 | \ -; RUN: grep BB1_1: +; RUN: grep BB1_main: %str = internal constant [14 x sbyte] c"Hello world!\0A\00" ; <[14 x sbyte]*> [#uses=1] %str = internal constant [13 x sbyte] c"Blah world!\0A\00" ; <[13 x sbyte]*> [#uses=1] diff --git a/test/CodeGen/X86/2007-01-08-InstrSched.ll b/test/CodeGen/X86/2007-01-08-InstrSched.ll index 811e9ac..4ff1bf1 100644 --- a/test/CodeGen/X86/2007-01-08-InstrSched.ll +++ b/test/CodeGen/X86/2007-01-08-InstrSched.ll @@ -1,6 +1,6 @@ ; PR1075 ; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | \ -; RUN: %prcontext {mulss LCPI1_3} 1 | grep mulss | count 1 +; RUN: %prcontext {mulss LCPI3__foo} 1 | grep mulss | count 1 define float @foo(float %x) { %tmp1 = mul float %x, 3.000000e+00 diff --git a/test/CodeGen/X86/fp_constant_op.llx b/test/CodeGen/X86/fp_constant_op.llx index 30e06c0..209a411 100644 --- a/test/CodeGen/X86/fp_constant_op.llx +++ b/test/CodeGen/X86/fp_constant_op.llx @@ -3,32 +3,32 @@ ; Test that the load of the constant is folded into the operation. -double %test_add(double %P) { +double %foo_add(double %P) { %tmp.1 = add double %P, 0x405EC00000000000 ret double %tmp.1 } -double %test_mul(double %P) { +double %foo_mul(double %P) { %tmp.1 = mul double %P, 0x405EC00000000000 ret double %tmp.1 } -double %test_sub(double %P) { +double %foo_sub(double %P) { %tmp.1 = sub double %P, 0x405EC00000000000 ret double %tmp.1 } -double %test_subr(double %P) { +double %foo_subr(double %P) { %tmp.1 = sub double 0x405EC00000000000, %P ret double %tmp.1 } -double %test_div(double %P) { +double %foo_div(double %P) { %tmp.1 = div double %P, 0x405EC00000000000 ret double %tmp.1 } -double %test_divr(double %P) { +double %foo_divr(double %P) { %tmp.1 = div double 0x405EC00000000000, %P ret double %tmp.1 } -- cgit v1.1