brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1020 B · 6ff9470 Raw
35 lines · plain
1; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -arm-atomic-cfg-tidy=0 | FileCheck %s2; rdar://73543793 4declare double @foo(double) nounwind readnone5 6define void @t(i32 %c, double %b) {7entry:8; CHECK:      cmp	r0, #09  %cmp1 = icmp ne i32 %c, 010  br i1 %cmp1, label %bb3, label %bb111 12bb1:                                              ; preds = %entry13  unreachable14 15bb3:                                              ; preds = %entry16  %cmp2 = icmp ne i32 %c, 017  br i1 %cmp2, label %bb7, label %bb518 19bb5:                                              ; preds = %bb320  unreachable21 22bb7:                                              ; preds = %bb323  %cmp3 = icmp ne i32 %c, 024  br i1 %cmp3, label %bb11, label %bb925 26bb9:                                              ; preds = %bb727; CHECK:      cbnz28  %0 = tail call  double @foo(double %b) nounwind readnone ; <double> [#uses=0]29  br label %bb1130 31bb11:                                             ; preds = %bb9, %bb732  store i32 0, ptr undef33  ret void34}35