brintos

brintos / llvm-project-archived public Read only

0
0
Text · 509 B · 703cd43 Raw
24 lines · plain
1; RUN: opt < %s -passes=inline -S | FileCheck %s2; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s3 4; CHECK-LABEL: caller5; CHECK: call void @callee6define void @caller(i32 %a, i1 %b) #0 {7  call void @callee(i32 %a, i1 %b)8  unreachable9}10 11define void @callee(i32 %a, i1 %b) {12  call void @extern()13  call void asm sideeffect "", ""()14  br i1 %b, label %bb1, label %bb215bb1:16  call void asm sideeffect "", ""()17  ret void18bb2:19  call void asm sideeffect "", ""()20  ret void21}22 23declare void @extern()24