Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon -O2 < %s | FileCheck %s
      2 ; CHECK-NOT: memd
      3 ; CHECK: call f1
      4 ; CHECK: r{{[0-9]}}:{{[0-9]}} = combine(#0,#10)
      5 target triple = "hexagon"
      6 
      7 define i64 @f0(i32 %a0) {
      8 b0:
      9   %v0 = add nsw i32 %a0, 5
     10   %v1 = tail call i64 @f1(i32 %v0)
     11   %v2 = add nsw i64 %v1, 10
     12   ret i64 %v2
     13 }
     14 
     15 declare i64 @f1(i32)
     16