brintos

brintos / llvm-project-archived public Read only

0
0
Text · 610 B · f5762cb Raw
32 lines · plain
1; RUN: llc < %s -mtriple=armv6-apple-darwin -mcpu=arm1136jf-s -arm-atomic-cfg-tidy=0 | FileCheck %s2; Radar 8589805: Counting the number of microcoded operations, such as for an3; LDM instruction, was causing an assertion failure because the microop count4; was being treated as an instruction count.5 6; CHECK: push7; CHECK: pop8; CHECK: pop9; CHECK: pop10 11define i32 @test(i32 %x) {12entry:13  %0 = tail call signext i16 undef(ptr undef)14  switch i32 %x, label %bb3 [15    i32 0, label %bb416    i32 1, label %bb117    i32 2, label %bb218  ]19 20bb1:21  ret i32 122 23bb2:24  ret i32 225 26bb3:27  ret i32 128 29bb4:30  ret i32 331}32