brintos

brintos / llvm-project-archived public Read only

0
0
Text · 504 B · 7c8336a Raw
26 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; CHECK: jump f23;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 7target triple = "hexagon"8 9; Function Attrs: nounwind10define zeroext i8 @f0() #0 {11b0:12  %v0 = tail call zeroext i8 @f2() #013  ret i8 %v014}15 16; Function Attrs: nounwind readnone17define zeroext i8 @f1() #1 {18b0:19  ret i8 120}21 22declare zeroext i8 @f2()23 24attributes #0 = { nounwind }25attributes #1 = { nounwind readnone }26