Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=32
      2 ; RUN: llc -march=mips64el -mcpu=mips64 -mattr=n64 < %s | FileCheck %s -check-prefix=64
      3 
      4 define void @f0() nounwind {
      5 entry:
      6 ; 32:  addiu $4, $zero, 1
      7 ; 32:  addiu $4, $zero, 1
      8 
      9   tail call void @foo1(i32 1) nounwind
     10   tail call void @foo1(i32 1) nounwind
     11   ret void
     12 }
     13 
     14 declare void @foo1(i32)
     15 
     16 define void @f3() nounwind {
     17 entry:
     18 ; 64:  daddiu $4, $zero, 1
     19 ; 64:  daddiu $4, $zero, 1
     20 
     21   tail call void @foo2(i64 1) nounwind
     22   tail call void @foo2(i64 1) nounwind
     23   ret void
     24 }
     25 
     26 declare void @foo2(i64)
     27 
     28 define void @f5() nounwind {
     29 entry:
     30 ; 32:  lui $4, 1
     31 ; 32:  lui $4, 1
     32 
     33   tail call void @f6(i32 65536) nounwind
     34   tail call void @f6(i32 65536) nounwind
     35   ret void
     36 }
     37 
     38 declare void @f6(i32)
     39 
     40 define void @f7() nounwind {
     41 entry:
     42 ; 64:  lui $4, 1
     43 ; 64:  lui $4, 1
     44 
     45   tail call void @f8(i64 65536) nounwind
     46   tail call void @f8(i64 65536) nounwind
     47   ret void
     48 }
     49 
     50 declare void @f8(i64)
     51 
     52