view test/Feature/OperandBundles/inliner-conservative.ll @ 102:57be027de0f4

Update LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 23:17:11 +0900
parents 7d135dc70f03
children
line wrap: on
line source

; 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
}