Home | History | Annotate | Download | only in AArch64
      1 ; RUN: llc < %s -mtriple=aarch64-apple-darwin | FileCheck --check-prefix=MACHO %s
      2 ; RUN: llc < %s -mtriple=aarch64-pc-linux | FileCheck --check-prefix=ELF %s
      3 
      4 @i = linkonce_odr global i32 1
      5 
      6 ; MACHO: ltmp0:
      7 ; MACHO-NEXT: .long 1
      8 ; MACHO-NEXT: .alt_entry _f
      9 ; MACHO-NEXT: _f:
     10 ; ELF: .type f,@function
     11 ; ELF-NEXT: .word	1
     12 ; ELF-NEXT: // 0x1
     13 ; ELF-NEXT: f:
     14 define void @f() prefix i32 1 {
     15   ret void
     16 }
     17 
     18 ; MACHO: ltmp1:
     19 ; MACHO-NEXT: .quad _i
     20 ; MACHO-NEXT: .alt_entry _g
     21 ; MACHO-NEXT: _g:
     22 ; ELF: .type g,@function
     23 ; ELF-NEXT: .xword	i
     24 ; ELF-NEXT: g:
     25 define void @g() prefix i32* @i {
     26   ret void
     27 }
     28 
     29 ; MACHO: .subsections_via_symbols
     30