• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt -S -inline < %s | FileCheck %s
2
3; Check that the inliner does not inline through arbitrary unknown
4; operand bundles.
5
6define i32 @callee() {
7 entry:
8  ret i32 2
9}
10
11define i32 @caller() {
12; CHECK: @caller(
13 entry:
14; CHECK: call i32 @callee() [ "unknown"() ]
15  %x = call i32 @callee() [ "unknown"() ]
16  ret i32 %x
17}
18