repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
eliminate the "MBBLabel" MCOperand type, and just use a MCSymbol for
[llvm/avr.git]
/
test
/
Transforms
/
Inline
/
inline_constprop.ll
blob
537c69b305cbd0f9cc2dbec1046fbb251e47e414
1
; RUN: opt < %s -inline -S | not grep callee
2
; RUN: opt < %s -inline -S | not grep div
3
4
5
define internal i32 @callee(i32 %A, i32 %B) {
6
%C = sdiv i32 %A, %B ; <i32> [#uses=1]
7
ret i32 %C
8
}
9
10
define i32 @test() {
11
%X = call i32 @callee( i32 10, i32 3 ) ; <i32> [#uses=1]
12
ret i32 %X
13
}
14