]> granicus.if.org Git - llvm/commitdiff
Update tests to use at least darwin9.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 29 Jun 2016 14:51:10 +0000 (14:51 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 29 Jun 2016 14:51:10 +0000 (14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274129 91177308-0d34-0410-b5e6-96231b3b80d8

12 files changed:
test/CodeGen/PowerPC/available-externally.ll
test/CodeGen/PowerPC/ppc32-i1-vaarg.ll
test/CodeGen/PowerPC/stubs.ll
test/CodeGen/X86/abi-isel.ll
test/CodeGen/X86/avx512-calling-conv.ll
test/CodeGen/X86/darwin-stub.ll [deleted file]
test/CodeGen/X86/i386-shrink-wrapping.ll
test/CodeGen/X86/memset-2.ll
test/CodeGen/X86/merge-sp-update-lea.ll
test/CodeGen/X86/sibcall-5.ll
test/CodeGen/X86/sibcall-byval.ll
test/CodeGen/X86/vec_ss_load_fold.ll

index 53c435995485ee927c37382c9cfbcd595334bb76..6169e3fba99588b1ecd1a5da14e377f5259b905b 100644 (file)
@@ -1,12 +1,12 @@
 ; RUN: llc < %s -relocation-model=static | FileCheck %s -check-prefix=STATIC
-; RUN: llc < %s -relocation-model=pic -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=PIC
+; RUN: llc < %s -relocation-model=pic -mtriple=powerpc-apple-darwin9 | FileCheck %s -check-prefix=PIC
 ; RUN: llc < %s -relocation-model=pic -mtriple=powerpc-unknown-linux | FileCheck %s -check-prefix=PICELF
-; RUN: llc < %s -relocation-model=pic -mtriple=powerpc64-apple-darwin8 | FileCheck %s -check-prefix=PIC64
-; RUN: llc < %s -relocation-model=dynamic-no-pic -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=DYNAMIC
-; RUN: llc < %s -relocation-model=dynamic-no-pic -mtriple=powerpc64-apple-darwin8 | FileCheck %s -check-prefix=DYNAMIC64
+; RUN: llc < %s -relocation-model=pic -mtriple=powerpc64-apple-darwin9 | FileCheck %s -check-prefix=PIC64
+; RUN: llc < %s -relocation-model=dynamic-no-pic -mtriple=powerpc-apple-darwin9 | FileCheck %s -check-prefix=DYNAMIC
+; RUN: llc < %s -relocation-model=dynamic-no-pic -mtriple=powerpc64-apple-darwin9 | FileCheck %s -check-prefix=DYNAMIC64
 ; PR4482
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
-target triple = "powerpc-apple-darwin8"
+target triple = "powerpc-apple-darwin9"
 
 define i32 @foo(i64 %x) nounwind {
 entry:
@@ -16,7 +16,7 @@ entry:
 ; STATIC: .subsections_via_symbols
 
 ; PIC: _foo:
-; PIC: bl L_exact_log2$stub
+; PIC: bl _exact_log2
 ; PIC: blr
 
 ; PICELF: foo:
@@ -24,15 +24,15 @@ entry:
 ; PICELF: blr
 
 ; PIC64: _foo:
-; PIC64: bl L_exact_log2$stub
+; PIC64: bl _exact_log2
 ; PIC64: blr
 
 ; DYNAMIC: _foo:
-; DYNAMIC: bl L_exact_log2$stub
+; DYNAMIC: bl _exact_log2
 ; DYNAMIC: blr
 
 ; DYNAMIC64: _foo:
-; DYNAMIC64: bl L_exact_log2$stub
+; DYNAMIC64: bl _exact_log2
 ; DYNAMIC64: blr
 
         %A = call i32 @exact_log2(i64 %x) nounwind
@@ -45,70 +45,7 @@ entry:
 }
 
 
-; PIC: .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
-; PIC: L_exact_log2$stub:
-; PIC: .indirect_symbol _exact_log2
-; PIC: mflr r0
-; PIC: bcl 20, 31, L_exact_log2$stub$tmp
-
-; PIC: L_exact_log2$stub$tmp:
-; PIC: mflr r11
-; PIC: addis r11, r11, ha16(L_exact_log2$lazy_ptr-L_exact_log2$stub$tmp)
-; PIC: mtlr r0
-; PIC: lwzu r12, lo16(L_exact_log2$lazy_ptr-L_exact_log2$stub$tmp)(r11)
-; PIC: mtctr r12
-; PIC: bctr
-
-; PIC: .section __DATA,__la_symbol_ptr,lazy_symbol_pointers
-; PIC: L_exact_log2$lazy_ptr:
-; PIC: .indirect_symbol _exact_log2
-; PIC: .long dyld_stub_binding_helper
-
 ; PIC: .subsections_via_symbols
 
-; PIC64: .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
-; PIC64: L_exact_log2$stub:
-; PIC64: .indirect_symbol _exact_log2
-; PIC64: mflr r0
-; PIC64: bcl 20, 31, L_exact_log2$stub$tmp
-
-; PIC64: L_exact_log2$stub$tmp:
-; PIC64: mflr r11
-; PIC64: addis r11, r11, ha16(L_exact_log2$lazy_ptr-L_exact_log2$stub$tmp)
-; PIC64: mtlr r0
-; PIC64: ldu r12, lo16(L_exact_log2$lazy_ptr-L_exact_log2$stub$tmp)(r11)
-; PIC64: mtctr r12
-; PIC64: bctr
-
-; PIC64: .section __DATA,__la_symbol_ptr,lazy_symbol_pointers
-; PIC64: L_exact_log2$lazy_ptr:
-; PIC64: .indirect_symbol _exact_log2
-; PIC64: .quad dyld_stub_binding_helper
 
 ; PIC64: .subsections_via_symbols
-
-; DYNAMIC: .section __TEXT,__symbol_stub1,symbol_stubs,pure_instructions,16
-; DYNAMIC: L_exact_log2$stub:
-; DYNAMIC: .indirect_symbol _exact_log2
-; DYNAMIC: lis r11, ha16(L_exact_log2$lazy_ptr)
-; DYNAMIC: lwzu r12, lo16(L_exact_log2$lazy_ptr)(r11)
-; DYNAMIC: mtctr r12
-; DYNAMIC: bctr
-
-; DYNAMIC: .section __DATA,__la_symbol_ptr,lazy_symbol_pointers
-; DYNAMIC: L_exact_log2$lazy_ptr:
-; DYNAMIC: .indirect_symbol _exact_log2
-; DYNAMIC: .long dyld_stub_binding_helper
-
-; DYNAMIC64: .section __TEXT,__symbol_stub1,symbol_stubs,pure_instructions,16
-; DYNAMIC64: L_exact_log2$stub:
-; DYNAMIC64: .indirect_symbol _exact_log2
-; DYNAMIC64: lis r11, ha16(L_exact_log2$lazy_ptr)
-; DYNAMIC64: ldu r12, lo16(L_exact_log2$lazy_ptr)(r11)
-; DYNAMIC64: mtctr r12
-; DYNAMIC64: bctr
-
-; DYNAMIC64: .section __DATA,__la_symbol_ptr,lazy_symbol_pointers
-; DYNAMIC64: L_exact_log2$lazy_ptr:
-; DYNAMIC64: .indirect_symbol _exact_log2
-; DYNAMIC64: .quad dyld_stub_binding_helper
index 028006320cb526b7e380db44cd17a25c97466e87..272d882c8bbf9987a3868a4be93dd4afc144f614 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -march=ppc32 -mcpu=ppc32 | FileCheck %s
-; RUN: llc < %s -march=ppc32 -mcpu=ppc32 -mtriple=powerpc-darwin | FileCheck %s -check-prefix=CHECK-D
+; RUN: llc < %s -march=ppc32 -mcpu=ppc32 -mtriple=powerpc-darwin9 | FileCheck %s -check-prefix=CHECK-D
 target triple = "powerpc-unknown-linux-gnu"
 
 declare void @printf(i8*, ...)
@@ -16,5 +16,5 @@ define void @main() {
 
 ; CHECK-D-LABEL: @main
 ; CHECK-D: li r4, 0
-; CHECK-D: bl L_printf$stub
+; CHECK-D: bl _printf
 
index 694f208198a1bce84747b5dbf7d06623d9501748..a167cb8233258bce8ed1c170fc6cf6ddf8c1b3f0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc %s -o - -mtriple=powerpc-apple-darwin8 | FileCheck %s
+; RUN: llc %s -o - -mtriple=powerpc-apple-darwin9 | FileCheck %s
 define ppc_fp128 @test1(i64 %X) nounwind readnone {
 entry:
   %0 = sitofp i64 %X to ppc_fp128
@@ -6,17 +6,4 @@ entry:
 }
 
 ; CHECK: _test1:
-; CHECK: bl L___floatditf$stub
-; CHECK:       .section        __TEXT,__symbol_stub1,symbol_stubs,pure_instructions,16
-; CHECK: L___floatditf$stub:
-; CHECK:       .indirect_symbol ___floatditf
-; CHECK:       lis r11, ha16(L___floatditf$lazy_ptr)
-; CHECK:       lwzu r12, lo16(L___floatditf$lazy_ptr)(r11)
-; CHECK:       mtctr r12
-; CHECK:       bctr
-; CHECK:       .section        __DATA,__la_symbol_ptr,lazy_symbol_pointers
-; CHECK: L___floatditf$lazy_ptr:
-; CHECK:       .indirect_symbol ___floatditf
-; CHECK:       .long dyld_stub_binding_helper
-
-
+; CHECK: bl ___floatditf
index f363b64386f5175a6ce2e04f80204692408201f3..742041a974b3ea60cc232e02317c015adcfbf3e6 100644 (file)
@@ -5,8 +5,8 @@
 ; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -march=x86-64 -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-PIC
 
 ; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin -march=x86 -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-STATIC
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin -march=x86 -relocation-model=dynamic-no-pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-DYNAMIC
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin -march=x86 -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-PIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin9 -march=x86 -relocation-model=dynamic-no-pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-DYNAMIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin9 -march=x86 -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-PIC
 
 ; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-apple-darwin -march=x86-64 -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-STATIC
 ; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-apple-darwin -march=x86-64 -relocation-model=dynamic-no-pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-DYNAMIC
@@ -8425,25 +8425,25 @@ entry:
 
 ; DARWIN-32-DYNAMIC: _lcallee:
 ; DARWIN-32-DYNAMIC:   subl    $12, %esp
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_x$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_x$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_x$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_x$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_x$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_x$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_x$stub
+; DARWIN-32-DYNAMIC-NEXT:      calll   _x
+; DARWIN-32-DYNAMIC-NEXT:      calll   _x
+; DARWIN-32-DYNAMIC-NEXT:      calll   _x
+; DARWIN-32-DYNAMIC-NEXT:      calll   _x
+; DARWIN-32-DYNAMIC-NEXT:      calll   _x
+; DARWIN-32-DYNAMIC-NEXT:      calll   _x
+; DARWIN-32-DYNAMIC-NEXT:      calll   _x
 ; DARWIN-32-DYNAMIC-NEXT:      addl    $12, %esp
 ; DARWIN-32-DYNAMIC-NEXT:      ret
 
 ; DARWIN-32-PIC: _lcallee:
 ; DARWIN-32-PIC:       subl    $12, %esp
-; DARWIN-32-PIC-NEXT:  calll   L_x$stub
-; DARWIN-32-PIC-NEXT:  calll   L_x$stub
-; DARWIN-32-PIC-NEXT:  calll   L_x$stub
-; DARWIN-32-PIC-NEXT:  calll   L_x$stub
-; DARWIN-32-PIC-NEXT:  calll   L_x$stub
-; DARWIN-32-PIC-NEXT:  calll   L_x$stub
-; DARWIN-32-PIC-NEXT:  calll   L_x$stub
+; DARWIN-32-PIC-NEXT:  calll   _x
+; DARWIN-32-PIC-NEXT:  calll   _x
+; DARWIN-32-PIC-NEXT:  calll   _x
+; DARWIN-32-PIC-NEXT:  calll   _x
+; DARWIN-32-PIC-NEXT:  calll   _x
+; DARWIN-32-PIC-NEXT:  calll   _x
+; DARWIN-32-PIC-NEXT:  calll   _x
 ; DARWIN-32-PIC-NEXT:  addl    $12, %esp
 ; DARWIN-32-PIC-NEXT:  ret
 
@@ -8557,25 +8557,25 @@ entry:
 
 ; DARWIN-32-DYNAMIC: _dcallee:
 ; DARWIN-32-DYNAMIC:   subl    $12, %esp
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_y$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_y$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_y$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_y$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_y$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_y$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_y$stub
+; DARWIN-32-DYNAMIC-NEXT:      calll   _y
+; DARWIN-32-DYNAMIC-NEXT:      calll   _y
+; DARWIN-32-DYNAMIC-NEXT:      calll   _y
+; DARWIN-32-DYNAMIC-NEXT:      calll   _y
+; DARWIN-32-DYNAMIC-NEXT:      calll   _y
+; DARWIN-32-DYNAMIC-NEXT:      calll   _y
+; DARWIN-32-DYNAMIC-NEXT:      calll   _y
 ; DARWIN-32-DYNAMIC-NEXT:      addl    $12, %esp
 ; DARWIN-32-DYNAMIC-NEXT:      ret
 
 ; DARWIN-32-PIC: _dcallee:
 ; DARWIN-32-PIC:       subl    $12, %esp
-; DARWIN-32-PIC-NEXT:  calll   L_y$stub
-; DARWIN-32-PIC-NEXT:  calll   L_y$stub
-; DARWIN-32-PIC-NEXT:  calll   L_y$stub
-; DARWIN-32-PIC-NEXT:  calll   L_y$stub
-; DARWIN-32-PIC-NEXT:  calll   L_y$stub
-; DARWIN-32-PIC-NEXT:  calll   L_y$stub
-; DARWIN-32-PIC-NEXT:  calll   L_y$stub
+; DARWIN-32-PIC-NEXT:  calll   _y
+; DARWIN-32-PIC-NEXT:  calll   _y
+; DARWIN-32-PIC-NEXT:  calll   _y
+; DARWIN-32-PIC-NEXT:  calll   _y
+; DARWIN-32-PIC-NEXT:  calll   _y
+; DARWIN-32-PIC-NEXT:  calll   _y
+; DARWIN-32-PIC-NEXT:  calll   _y
 ; DARWIN-32-PIC-NEXT:  addl    $12, %esp
 ; DARWIN-32-PIC-NEXT:  ret
 
@@ -8802,15 +8802,15 @@ entry:
 
 ; DARWIN-32-DYNAMIC: _caller:
 ; DARWIN-32-DYNAMIC:   subl    $12, %esp
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_callee$stub
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_callee$stub
+; DARWIN-32-DYNAMIC-NEXT:      calll   _callee
+; DARWIN-32-DYNAMIC-NEXT:      calll   _callee
 ; DARWIN-32-DYNAMIC-NEXT:      addl    $12, %esp
 ; DARWIN-32-DYNAMIC-NEXT:      ret
 
 ; DARWIN-32-PIC: _caller:
 ; DARWIN-32-PIC:       subl    $12, %esp
-; DARWIN-32-PIC-NEXT:  calll   L_callee$stub
-; DARWIN-32-PIC-NEXT:  calll   L_callee$stub
+; DARWIN-32-PIC-NEXT:  calll   _callee
+; DARWIN-32-PIC-NEXT:  calll   _callee
 ; DARWIN-32-PIC-NEXT:  addl    $12, %esp
 ; DARWIN-32-PIC-NEXT:  ret
 
@@ -9021,13 +9021,13 @@ entry:
 
 ; DARWIN-32-DYNAMIC: _tailcaller:
 ; DARWIN-32-DYNAMIC:   subl    $12, %esp
-; DARWIN-32-DYNAMIC-NEXT:      calll   L_callee$stub
+; DARWIN-32-DYNAMIC-NEXT:      calll   _callee
 ; DARWIN-32-DYNAMIC-NEXT:      addl    $12, %esp
 ; DARWIN-32-DYNAMIC-NEXT:      ret
 
 ; DARWIN-32-PIC: _tailcaller:
 ; DARWIN-32-PIC:       subl    $12, %esp
-; DARWIN-32-PIC-NEXT:  calll   L_callee$stub
+; DARWIN-32-PIC-NEXT:  calll   _callee
 ; DARWIN-32-PIC-NEXT:  addl    $12, %esp
 ; DARWIN-32-PIC-NEXT:  ret
 
index 9e14ec026bc32df222f18be7931a0288791a25d7..112e96cbbbbf5cce138ce0380f7c202d854617ac 100644 (file)
@@ -1,7 +1,7 @@
 ; NOTE: Assertions have been autogenerated by update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s --check-prefix=ALL_X64 --check-prefix=KNL
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s --check-prefix=ALL_X64 --check-prefix=SKX
-; RUN: llc < %s -mtriple=i686-apple-darwin -mcpu=knl | FileCheck %s --check-prefix=KNL_X32
+; RUN: llc < %s -mtriple=x86_64-apple-darwin9 -mcpu=knl | FileCheck %s --check-prefix=ALL_X64 --check-prefix=KNL
+; RUN: llc < %s -mtriple=x86_64-apple-darwin9 -mcpu=skx | FileCheck %s --check-prefix=ALL_X64 --check-prefix=SKX
+; RUN: llc < %s -mtriple=i686-apple-darwin9 -mcpu=knl | FileCheck %s --check-prefix=KNL_X32
 
 define <16 x i1> @test1() {
 ; KNL-LABEL: test1:
@@ -160,7 +160,7 @@ define <8 x i32> @test5(<8 x i32>%a, <8 x i32>%b) {
 ; KNL_X32-NEXT:    .cfi_def_cfa_offset 16
 ; KNL_X32-NEXT:    vpcmpgtd %ymm1, %ymm0, %ymm0
 ; KNL_X32-NEXT:    vpmovdw %zmm0, %ymm0
-; KNL_X32-NEXT:    calll L_func8xi1$stub
+; KNL_X32-NEXT:    calll _func8xi1
 ; KNL_X32-NEXT:    vpmovzxwd {{.*#+}} ymm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4],zero,xmm0[5],zero,xmm0[6],zero,xmm0[7],zero
 ; KNL_X32-NEXT:    vpslld $31, %ymm0, %ymm0
 ; KNL_X32-NEXT:    vpsrad $31, %ymm0, %ymm0
@@ -212,7 +212,7 @@ define <16 x i32> @test6(<16 x i32>%a, <16 x i32>%b) {
 ; KNL_X32-NEXT:    vpcmpgtd %zmm1, %zmm0, %k1
 ; KNL_X32-NEXT:    vpbroadcastd LCPI5_0, %zmm0 {%k1} {z}
 ; KNL_X32-NEXT:    vpmovdb %zmm0, %xmm0
-; KNL_X32-NEXT:    calll L_func16xi1$stub
+; KNL_X32-NEXT:    calll _func16xi1
 ; KNL_X32-NEXT:    vpmovzxbd {{.*#+}} zmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero,xmm0[4],zero,zero,zero,xmm0[5],zero,zero,zero,xmm0[6],zero,zero,zero,xmm0[7],zero,zero,zero,xmm0[8],zero,zero,zero,xmm0[9],zero,zero,zero,xmm0[10],zero,zero,zero,xmm0[11],zero,zero,zero,xmm0[12],zero,zero,zero,xmm0[13],zero,zero,zero,xmm0[14],zero,zero,zero,xmm0[15],zero,zero,zero
 ; KNL_X32-NEXT:    vpslld $31, %zmm0, %zmm0
 ; KNL_X32-NEXT:    vpsrad $31, %zmm0, %zmm0
@@ -258,7 +258,7 @@ define <4 x i32> @test7(<4 x i32>%a, <4 x i32>%b) {
 ; KNL_X32-NEXT:  Ltmp2:
 ; KNL_X32-NEXT:    .cfi_def_cfa_offset 16
 ; KNL_X32-NEXT:    vpcmpgtd %xmm1, %xmm0, %xmm0
-; KNL_X32-NEXT:    calll L_func4xi1$stub
+; KNL_X32-NEXT:    calll _func4xi1
 ; KNL_X32-NEXT:    vpslld $31, %xmm0, %xmm0
 ; KNL_X32-NEXT:    vpsrad $31, %xmm0, %xmm0
 ; KNL_X32-NEXT:    addl $12, %esp
@@ -312,7 +312,7 @@ define <8 x i1> @test7a(<8 x i32>%a, <8 x i32>%b) {
 ; KNL_X32-NEXT:    .cfi_def_cfa_offset 16
 ; KNL_X32-NEXT:    vpcmpgtd %ymm1, %ymm0, %ymm0
 ; KNL_X32-NEXT:    vpmovdw %zmm0, %ymm0
-; KNL_X32-NEXT:    calll L_func8xi1$stub
+; KNL_X32-NEXT:    calll _func8xi1
 ; KNL_X32-NEXT:    vpmovsxwq %xmm0, %zmm0
 ; KNL_X32-NEXT:    vpsllvq LCPI7_0, %zmm0, %zmm0
 ; KNL_X32-NEXT:    movb $85, %al
diff --git a/test/CodeGen/X86/darwin-stub.ll b/test/CodeGen/X86/darwin-stub.ll
deleted file mode 100644 (file)
index 607f56f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin  |     grep stub
-; RUN: llc < %s -mtriple=i386-apple-darwin9 | not grep stub
-
-@"\01LC" = internal constant [13 x i8] c"Hello World!\00"              ; <[13 x i8]*> [#uses=1]
-
-define i32 @main() nounwind {
-entry:
-       %0 = tail call i32 @puts(i8* getelementptr ([13 x i8], [13 x i8]* @"\01LC", i32 0, i32 0)) nounwind             ; <i32> [#uses=0]
-       ret i32 0
-}
-
-declare i32 @puts(i8*)
index f30b3f01caff7af14e8beec1f99d9bc404b469c8..2c3e384b70a680764b2ff013524bb21b6e55306c 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llc %s -o - -enable-shrink-wrap=true -no-x86-call-frame-opt | FileCheck %s --check-prefix=CHECK --check-prefix=ENABLE
 ; RUN: llc %s -o - -enable-shrink-wrap=false -no-x86-call-frame-opt | FileCheck %s --check-prefix=CHECK --check-prefix=DISABLE
 target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
-target triple = "i386-apple-macosx"
+target triple = "i386-apple-macosx10.5"
 
 @a = common global i32 0, align 4
 @d = internal unnamed_addr global i1 false
@@ -64,7 +64,7 @@ target triple = "i386-apple-macosx"
 ; CHECK-NEXT: cmovnel {{%[a-z]+}}, [[CONV]]
 ;
 ; Skip all the crust of vaarg lowering.
-; CHECK: calll L_varfunc$stub
+; CHECK: calll _varfunc
 ; Set the return value to 0.
 ; CHECK-NEXT: xorl %eax, %eax
 ; CHECK-NEXT: addl $20, %esp
index 21c28bdd9002add6d31173ec6363dda151b5df50..a02ef29ca6b37151f785b7b0e68c5cf106c846d2 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by update_test_checks.py
-; RUN: llc -mtriple=i386-apple-darwin -mcpu=yonah < %s | FileCheck %s
+; RUN: llc -mtriple=i386-apple-darwin9 -mcpu=yonah < %s | FileCheck %s
 
 define fastcc void @t1() nounwind {
 ; CHECK-LABEL: t1:
@@ -8,7 +8,7 @@ define fastcc void @t1() nounwind {
 ; CHECK-NEXT:    pushl $188
 ; CHECK-NEXT:    pushl $0
 ; CHECK-NEXT:    pushl $0
-; CHECK-NEXT:    calll L_memset$stub
+; CHECK-NEXT:    calll _memset
 ; CHECK-NEXT:    addl $16, %esp
 ;
 entry:
@@ -22,7 +22,7 @@ define fastcc void @t2(i8 signext %c) nounwind {
 ; CHECK-NEXT:    subl $12, %esp
 ; CHECK-NEXT:    movl %ecx, {{[0-9]+}}(%esp)
 ; CHECK-NEXT:    movl $76, {{[0-9]+}}(%esp)
-; CHECK-NEXT:    calll L_memset$stub
+; CHECK-NEXT:    calll _memset
 ;
 entry:
   call void @llvm.memset.p0i8.i32(i8* undef, i8 %c, i32 76, i32 1, i1 false)
index cd2be44e1c02eec95e83c1a1adb5aaad20c52f93..70209a2aec927fe5ad84155a223b74aad90554a5 100644 (file)
@@ -1,11 +1,11 @@
 ; RUN: llc %s -o - | FileCheck %s
 target datalayout = "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128"
-target triple = "i386-apple-macosx"
+target triple = "i386-apple-macosx10.5"
 
 ; Check that the merging of SP updates, when LEAs are involved, happen
 ; correctly.
 ; CHECK-LABEL: useLEA:
-; CHECK: calll L_realloc
+; CHECK: calll _realloc
 ; Make sure that the offset we get here is 8 + 16.
 ; We used to have 8 + 1 because we were not reading the right immediate form
 ; the LEA instruction.
index aab028bd17c8bdaf5e645fc01ee68e6b65761929..4901b4fa069c4ef0d135f3ac511cf575686330f5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin8 -mattr=+sse2  | FileCheck %s --check-prefix=X32
+; RUN: llc < %s -mtriple=i386-apple-darwin9 -mattr=+sse2  | FileCheck %s --check-prefix=X32
 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+sse2 | FileCheck %s --check-prefix=X64
 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-sse3 | FileCheck %s --check-prefix=X64_BAD
 
@@ -8,7 +8,7 @@
 define double @foo(double %a) nounwind readonly ssp {
 entry:
 ; X32-LABEL: foo:
-; X32: jmp L_sin$stub
+; X32: jmp _sin
 
 ; X64-LABEL: foo:
 ; X64: jmp _sin
@@ -18,7 +18,7 @@ entry:
 
 define float @bar(float %a) nounwind readonly ssp {
 ; X32-LABEL: bar:
-; X32: jmp L_sinf$stub
+; X32: jmp _sinf
 
 ; X64-LABEL: bar:
 ; X64: jmp _sinf
@@ -27,10 +27,6 @@ entry:
   ret float %0
 }
 
-; X32-LABEL: L_sin$stub:
-; X32-NEXT:   .indirect_symbol        _sin
-; X32-LABEL: L_sinf$stub:
-; X32-NEXT:   .indirect_symbol        _sinf
 
 declare float @sinf(float) nounwind readonly
 
index c335f30a93a28c19be99c3ec0825386e46f1d3c1..8f5833adf5a3236bda403b5a30bab1091cb4ff8f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin   | FileCheck %s -check-prefix=32
+; RUN: llc < %s -mtriple=i386-apple-darwin9   | FileCheck %s -check-prefix=32
 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s -check-prefix=64
 
 %struct.p = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@@ -6,7 +6,7 @@
 define i32 @f(%struct.p* byval align 4 %q) nounwind ssp {
 entry:
 ; 32: _f:
-; 32: jmp L_g$stub
+; 32: jmp _g
 
 ; 64: _f:
 ; 64: jmp _g
@@ -19,7 +19,7 @@ declare i32 @g(%struct.p* byval align 4)
 define i32 @h(%struct.p* byval align 4 %q, i32 %r) nounwind ssp {
 entry:
 ; 32: _h:
-; 32: jmp L_i$stub
+; 32: jmp _i
 
 ; 64: _h:
 ; 64: jmp _i
index 87c62df77434d5b7e73c1dd78ce67a104856a2bf..5b298d8c6eb11dcc9a1e2e1147d3c87fb2fc72dc 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: llc < %s -mtriple=i686-apple-darwin8.7.2 -mattr=+sse,+sse2,+sse4.1 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-apple-darwin9 -mattr=+sse,+sse2,+sse4.1 | FileCheck %s
 
 target datalayout = "e-p:32:32"
 
@@ -81,7 +81,7 @@ define <4 x float> @test4(<4 x float> %A, float *%b, i32 %C) nounwind {
 ; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax
 ; CHECK-NEXT:    movss {{.*#+}} xmm0 = mem[0],zero,zero,zero
 ; CHECK-NEXT:    movaps %xmm0, (%esp) ## 16-byte Spill
-; CHECK-NEXT:    calll L_f$stub
+; CHECK-NEXT:    calll _f
 ; CHECK-NEXT:    movaps (%esp), %xmm1 ## 16-byte Reload
 ; CHECK-NEXT:    roundss $4, %xmm1, %xmm0
 ; CHECK-NEXT:    addl $28, %esp