1 ; RUN: llc -march=hexagon < %s | FileCheck %s 2 ; CHECK: jump f2 3 ; 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. 6 7 target triple = "hexagon" 8 9 ; Function Attrs: nounwind 10 define zeroext i8 @f0() #0 { 11 b0: 12 %v0 = tail call zeroext i8 @f2() #0 13 ret i8 %v0 14 } 15 16 ; Function Attrs: nounwind readnone 17 define zeroext i8 @f1() #1 { 18 b0: 19 ret i8 1 20 } 21 22 declare zeroext i8 @f2() 23 24 attributes #0 = { nounwind } 25 attributes #1 = { nounwind readnone } 26