1; RUN: llc -march=hexagon < %s | FileCheck %s 2; REQUIRES: asserts 3 4; Make sure this doesn't crash. 5; CHECK: jumpr r31 6 7target triple = "hexagon" 8 9; Function Attrs: nounwind 10declare void @f0() #0 11 12; Function Attrs: nounwind 13define i32 @f1(i32 %a0) #0 { 14b0: 15 %v0 = icmp slt i32 %a0, 3 16 %v1 = select i1 %v0, void ()* @f0, void ()* null 17 %v2 = ptrtoint void ()* %v1 to i32 18 ret i32 %v2 19} 20 21attributes #0 = { nounwind } 22