25 lines · plain
1; RUN: llc -mtriple thumbv7--windows-itanium -filetype asm -o - %s | FileCheck %s2 3declare void @llvm.trap()4declare arm_aapcs_vfpcc zeroext i1 @g()5 6define arm_aapcs_vfpcc ptr @f() {7entry:8 %call = tail call arm_aapcs_vfpcc zeroext i1 @g()9 br i1 %call, label %if.then, label %if.end10 11if.then:12 ret ptr @g13 14if.end:15 tail call void @llvm.trap()16 unreachable17}18 19; CHECK: push.w {r11, lr}20; CHECK: bl g21; CHECK: movw [[REG:r[0-9]+]], :lower16:g22; CHECK: movt [[REG]], :upper16:g23; CHECK: pop.w {r11, pc}24 25