repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ELF: Have __rela_iplt_{start,end} surround .rela.iplt with --pack-dyn-relocs=android.
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
GlobalOpt
/
constantexpr-dangle.ll
blob
82e7f6449611eb62d19673bb1b984ef2fd154e0d
1
; RUN: opt < %s -passes='function(instcombine),globalopt' -S | FileCheck %s
2
; CHECK: internal fastcc float @foo
3
4
define internal float @foo() {
5
ret float 0.000000e+00
6
}
7
8
define float @bar() {
9
%tmp1 = call float (...) @foo( )
10
%tmp2 = fmul float %tmp1, 1.000000e+01 ; <float> [#uses=1]
11
ret float %tmp2
12
}