Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 ; There should only be one packet:
      3 ; {
      4 ;   jump free
      5 ;   r0 = memw(r0 + #-4)
      6 ; }
      7 ;
      8 ; CHECK: {
      9 ; CHECK-NOT: {
     10 
     11 define void @fred(i8* %p) nounwind {
     12 entry:
     13   %arrayidx = getelementptr inbounds i8, i8* %p, i32 -4
     14   %t0 = bitcast i8* %arrayidx to i8**
     15   %t1 = load i8*, i8** %t0, align 4
     16   tail call void @free(i8* %t1)
     17   ret void
     18 }
     19 
     20 ; Function Attrs: nounwind
     21 declare void @free(i8* nocapture) nounwind
     22 
     23