1 ; RUN: llc -march=hexagon < %s | FileCheck %s
4 ; Check that we perform tail call merging on return types with zero extend.
5 ; We want to see a jump to f2, not a call.
7 target triple = "hexagon"
9 ; Function Attrs: nounwind
10 define zeroext i8 @f0() #0 {
12 %v0 = tail call zeroext i8 @f2() #0
16 ; Function Attrs: nounwind readnone
17 define zeroext i8 @f1() #1 {
22 declare zeroext i8 @f2()
24 attributes #0 = { nounwind }
25 attributes #1 = { nounwind readnone }