Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/Feature/OperandBundles/inliner-conservative.ll @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 1f2b6ac9f198 |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 ; RUN: opt -S -inline < %s | FileCheck %s | |
2 | |
3 ; Check that the inliner does not inline through arbitrary unknown | |
4 ; operand bundles. | |
5 | |
6 define i32 @callee() { | |
7 entry: | |
8 ret i32 2 | |
9 } | |
10 | |
11 define i32 @caller() { | |
12 ; CHECK: @caller( | |
13 entry: | |
14 ; CHECK: call i32 @callee() [ "unknown"() ] | |
15 %x = call i32 @callee() [ "unknown"() ] | |
16 ret i32 %x | |
17 } |