mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
18 lines
326 B
LLVM
18 lines
326 B
LLVM
|
; 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
|
||
|
}
|