summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature/OperandBundles/inliner-conservative.ll
blob: d9f09f71d905a36d33c5d280f05fb2755a0aa03b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: opt -S -inline < %s | FileCheck %s

; Check that the inliner does not inline through arbitrary unknown
; operand bundles.

define i32 @callee() {
 entry:
  ret i32 2
}

define i32 @caller() {
; CHECK: @caller(
 entry:
; CHECK: call i32 @callee() [ "unknown"() ]
  %x = call i32 @callee() [ "unknown"() ]
  ret i32 %x
}
OpenPOWER on IntegriCloud