R600: Call EmitFunctionHeader() in the AsmPrinter to populate the ELF symbol table

llvm-svn: 218776
diff --git a/llvm/test/CodeGen/R600/select-vectors.ll b/llvm/test/CodeGen/R600/select-vectors.ll
index 94605fe..0075839 100644
--- a/llvm/test/CodeGen/R600/select-vectors.ll
+++ b/llvm/test/CodeGen/R600/select-vectors.ll
@@ -4,7 +4,7 @@
 ; Evergreen not enabled since it seems to be having problems with doubles.
 
 
-; FUNC-LABEL: @select_v4i8
+; FUNC-LABEL: {{^}}select_v4i8:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
@@ -16,7 +16,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v4i16
+; FUNC-LABEL: {{^}}select_v4i16:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
@@ -28,7 +28,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v2i32
+; FUNC-LABEL: {{^}}select_v2i32:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: BUFFER_STORE_DWORDX2
@@ -39,7 +39,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v4i32
+; FUNC-LABEL: {{^}}select_v4i32:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
@@ -52,7 +52,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v8i32
+; FUNC-LABEL: {{^}}select_v8i32:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
@@ -68,7 +68,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v2f32
+; FUNC-LABEL: {{^}}select_v2f32:
 ; SI: BUFFER_STORE_DWORDX2
 define void @select_v2f32(<2 x float> addrspace(1)* %out, <2 x float> %a, <2 x float> %b, i32 %c) nounwind {
   %cmp = icmp eq i32 %c, 0
@@ -77,7 +77,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v4f32
+; FUNC-LABEL: {{^}}select_v4f32:
 ; SI: BUFFER_STORE_DWORDX4
 define void @select_v4f32(<4 x float> addrspace(1)* %out, <4 x float> %a, <4 x float> %b, i32 %c) nounwind {
   %cmp = icmp eq i32 %c, 0
@@ -86,7 +86,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v8f32
+; FUNC-LABEL: {{^}}select_v8f32:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
@@ -102,7 +102,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v2f64
+; FUNC-LABEL: {{^}}select_v2f64:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
@@ -114,7 +114,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v4f64
+; FUNC-LABEL: {{^}}select_v4f64:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
@@ -130,7 +130,7 @@
   ret void
 }
 
-; FUNC-LABEL: @select_v8f64
+; FUNC-LABEL: {{^}}select_v8f64:
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64
 ; SI: V_CNDMASK_B32_e64