brintos

brintos / llvm-project-archived public Read only

0
0
Text · 699 B · 66e4cd0 Raw
41 lines · plain
1# RUN: llc -mtriple=thumbv7-apple-ios -o - %s -run-pass if-converter -verify-machineinstrs | FileCheck %s2 3# Don't treat bb.1 as a valid diamond since IfConverter::IfConvertDiamond can't4# handle it and used to hit an assertion instead.5 6--- |7  define void @func() minsize {8    ret void9  }10...11---12name:            func13body:             |14  bb.0:15 16    tBcc %bb.3, 1, $cpsr17 18  bb.1:19 20    tBcc %bb.2, 1, $cpsr21    tB %bb.2, 14, $noreg22 23  bb.2:24 25  bb.3:26  successors:27    tBX_RET 14, _28...29 30# CHECK-LABEL: bb.0:31# CHECK:         tBcc %bb.3, 132 33# CHECK-LABEL: bb.1:34# CHECK:         tBcc %bb.2, 135# CHECK-NEXT:    tB %bb.2, 1436 37# CHECK-LABEL: bb.2:38 39# CHECK-LABEL: bb.3:40# CHECK:         tBX_RET 1441