1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; RUN: llc -march=hexagon -early-live-intervals -verify-machineinstrs < %s | FileCheck %s
7 target triple = "hexagon"
9 ; Function Attrs: nounwind
10 define i32 @fred(i64 %x, i64 %y, ptr nocapture %z) #0 {
12 %0 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %x, i64 %y)
13 %1 = extractvalue { i64, i1 } %0, 1
14 %2 = extractvalue { i64, i1 } %0, 0
15 store i64 %2, ptr %z, align 8
16 %conv = zext i1 %1 to i32
20 ; Function Attrs: nounwind readnone
21 declare { i64, i1 } @llvm.smul.with.overflow.i64(i64, i64) #1
23 attributes #0 = { nounwind }
24 attributes #1 = { nounwind readnone }