1 ; RUN: llc -march=hexagon -verify-machineinstrs < %s | FileCheck %s
4 ; Check that the testcase compiles without errors.
6 target triple = "hexagon"
8 ; Function Attrs: nounwind
9 define void @fred() #0 {
13 for.cond: ; preds = %entry
14 %0 = load i32, i32* undef, align 4
15 %mul = mul nsw i32 2, %0
16 %cmp = icmp slt i32 undef, %mul
17 br i1 %cmp, label %for.body, label %for.end13
19 for.body: ; preds = %for.cond
22 for.end13: ; preds = %for.cond
26 attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,-hvx-double" }