blob: d9f09f71d905a36d33c5d280f05fb2755a0aa03b [file] [log] [blame]
Sanjoy Das0a1bee82015-10-23 20:09:55 +00001; 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}