brintos

brintos / llvm-project-archived public Read only

0
0
Text · 650 B · ba12db9 Raw
28 lines · plain
1; RUN: llc -mtriple=hexagon -verify-machineinstrs < %s | FileCheck %s2;3; Make sure this test compiles successfully.4; CHECK: call foo5 6target triple = "hexagon--elf"7 8; Function Attrs: nounwind9define i32 @fred(i1 %a0) #0 {10b0:11  call void @foo() #012  br label %b113 14b1:                                               ; preds = %b015  br i1 %a0, label %b2, label %b316 17b2:                                               ; preds = %b118  br label %b319 20b3:                                               ; preds = %b2, %b121  %v4 = phi i32 [ 1, %b1 ], [ 2, %b2 ]22  ret i32 %v423}24 25declare void @foo() #026 27attributes #0 = { nounwind "target-cpu"="hexagonv60" }28