comparison test/CodeGen/Hexagon/peephole-kill-flags.ll @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents
children 803732b1fca8
comparison
equal deleted inserted replaced
101:34baf5011add 120:1172e4bd9c6f
1 ; RUN: llc -march=hexagon -verify-machineinstrs < %s | FileCheck %s
2 ; CHECK: memw
3
4 ; Check that the testcase compiles without errors.
5
6 target triple = "hexagon"
7
8 ; Function Attrs: nounwind
9 define void @fred() #0 {
10 entry:
11 br label %for.cond
12
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
18
19 for.body: ; preds = %for.cond
20 unreachable
21
22 for.end13: ; preds = %for.cond
23 ret void
24 }
25
26 attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,-hvx-double" }
27