Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 ; CHECK: allocframe
      3 
      4 target triple = "hexagon"
      5 
      6 define internal fastcc void @f0() {
      7 b0:
      8   %v0 = tail call i32* asm sideeffect "call 1f; r31.h = #hi(TH); r31.l = #lo(TH); jumpr r31; 1: $0 = r31", "=r,~{r28},~{r31}"()
      9   %v1 = bitcast i32* %v0 to i8*
     10   call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 bitcast (void (...)* @f1 to i8*), i8* align 4 %v1, i32 12, i1 false)
     11   ret void
     12 }
     13 
     14 declare void @f1(...)
     15 
     16 ; Function Attrs: argmemonly nounwind
     17 declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture writeonly, i8* nocapture readonly, i32, i1) #0
     18 
     19 attributes #0 = { argmemonly nounwind }
     20