brintos

brintos / llvm-project-archived public Read only

0
0
Text · 342 B · 2169414 Raw
18 lines · plain
1; RUN: opt -S -passes='cgscc(inline)' < %s | FileCheck %s2 3; Check that the inliner does not inline through arbitrary unknown4; operand bundles.5 6define i32 @callee() {7 entry:8  ret i32 29}10 11define i32 @caller() {12; CHECK: @caller(13 entry:14; CHECK: call i32 @callee() [ "unknown"() ]15  %x = call i32 @callee() [ "unknown"() ]16  ret i32 %x17}18