You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
326 B
18 lines
326 B
; 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
|
|
}
|