brintos

brintos / llvm-project-archived public Read only

0
0
Text · 708 B · f51c4c8 Raw
25 lines · plain
1; RUN: llc -mtriple=thumbv8.1m.main -mattr=+8msecext %s -o - | FileCheck %s2 3define hidden i32 @f(i32 %0, ptr nocapture %1) local_unnamed_addr #0 {4  %3 = call i32 %1(i32 %0) #25  %4 = icmp eq i32 %3, 16  br i1 %4, label %6, label %57 85:                                                ; preds = %29  call void @g() #310  unreachable11 126:                                                ; preds = %213  ret i32 114}15; CHECK-NOT: clrm eq16; CHECK: clrm {r1, r2, r3, r12, apsr}17; CHECK: bl g18 19declare dso_local void @g(...) local_unnamed_addr #120 21attributes #0 = { nounwind "cmse_nonsecure_entry" }22attributes #1 = { noreturn }23attributes #2 = { nounwind "cmse_nonsecure_call" }24attributes #3 = { noreturn nounwind }25